diff options
Diffstat (limited to 'src/commands/bot/suggest.ts')
| -rw-r--r-- | src/commands/bot/suggest.ts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/commands/bot/suggest.ts b/src/commands/bot/suggest.ts new file mode 100644 index 0000000..a610a68 --- /dev/null +++ b/src/commands/bot/suggest.ts @@ -0,0 +1,26 @@ +import { Command, CommandoMessage } from 'discord.js-commando'; +import emoji from 'emoji-random'; +import { MessageEmbed } from 'discord.js'; + +module.exports = class SuggestBot extends Command { + constructor(client) { + super(client, { + name: 'suggest', + group: 'bot', + memberName: 'suggest', + description: 'Allows you to suggest an addition or change!', + examples: ['uwu!suggest add more cool commands'], + userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + throttling: { + usages: 5, + duration: 30 + }, + }); + } + run(msg: CommandoMessage) { + let emb = new MessageEmbed() + .setDescription(`Thank you for your suggestion! ${emoji.random()}`) + msg.say(emb) + } +};
\ No newline at end of file |