summaryrefslogtreecommitdiff
path: root/src/commands/bot/support.ts
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-27 10:40:43 -0700
committer8cy <[email protected]>2020-04-27 10:40:43 -0700
commit5aee01b480ee2a3fb0581dec20e890ac2f1743d7 (patch)
tree0b49b4e1dd2f2001ccf3d17b09bec3bc2d6a79cc /src/commands/bot/support.ts
parentchange formatting of serverinfo embed, v8.0.1 (diff)
downloaddep-core-5aee01b480ee2a3fb0581dec20e890ac2f1743d7.tar.xz
dep-core-5aee01b480ee2a3fb0581dec20e890ac2f1743d7.zip
add support and embed cmd, v8.0.2
also change msg.channel.send to msg.say
Diffstat (limited to 'src/commands/bot/support.ts')
-rw-r--r--src/commands/bot/support.ts23
1 files changed, 23 insertions, 0 deletions
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