summaryrefslogtreecommitdiff
path: root/commands/fun/say.js
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-13 05:32:35 -0700
committer8cy <[email protected]>2020-04-13 05:32:35 -0700
commit9dff52f7d047c905326bc2f476ede5463e00f2a0 (patch)
tree1fec8563b3b72fde9b2ab7ad9e56a97398798685 /commands/fun/say.js
parenttypescript (diff)
downloads5nical-9dff52f7d047c905326bc2f476ede5463e00f2a0.tar.xz
s5nical-9dff52f7d047c905326bc2f476ede5463e00f2a0.zip
typescript final
Diffstat (limited to 'commands/fun/say.js')
-rw-r--r--commands/fun/say.js29
1 files changed, 0 insertions, 29 deletions
diff --git a/commands/fun/say.js b/commands/fun/say.js
deleted file mode 100644
index 07c6dba..0000000
--- a/commands/fun/say.js
+++ /dev/null
@@ -1,29 +0,0 @@
-const { Command } = require('discord.js-commando');
-
-module.exports = class SayFun extends Command {
- constructor(client) {
- super(client, {
- name: 'say',
- group: 'fun',
- memberName: 'say',
- description: 'speak as the bot',
- guildOnly: true,
- args: [
- {
- key: 'say',
- prompt: 'u cant send an empty msg lol',
- type: 'string'
- }
- ],
- examples: ['s5n!say hi']
- });
- }
- run(msg, { say }) {
- if (msg.member.hasPermission('KICK_MEMBERS')) {
- msg.channel.send(say);
- msg.delete();
- } else {
- msg.reply('insufficent perms homie ' + emoji.random());
- }
- }
-}; \ No newline at end of file