From 5aee01b480ee2a3fb0581dec20e890ac2f1743d7 Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Mon, 27 Apr 2020 10:40:43 -0700 Subject: add support and embed cmd, v8.0.2 also change msg.channel.send to msg.say --- src/commands/bot/support.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/commands/bot/support.ts (limited to 'src/commands/bot/support.ts') diff --git a/src/commands/bot/support.ts b/src/commands/bot/support.ts new file mode 100644 index 0000000..c022de7 --- /dev/null +++ b/src/commands/bot/support.ts @@ -0,0 +1,23 @@ +import { Command, CommandoMessage } from 'discord.js-commando'; +import emoji from 'emoji-random'; + +module.exports = class SupportBot extends Command { + constructor(client) { + super(client, { + name: 'support', + group: 'bot', + memberName: 'support', + description: 'Gives you the bot\'s support server link.', + examples: ['uwu!support'], + userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + throttling: { + usages: 5, + duration: 30 + }, + }); + } + run(msg: CommandoMessage) { + msg.reply('For support, please join; https://crack.cf/uwufier-support. ' + emoji.random()) + } +}; \ No newline at end of file -- cgit v1.2.3