summaryrefslogtreecommitdiff
path: root/src/commands/bot
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/bot')
-rw-r--r--src/commands/bot/test.ts23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/commands/bot/test.ts b/src/commands/bot/test.ts
new file mode 100644
index 0000000..8140c6e
--- /dev/null
+++ b/src/commands/bot/test.ts
@@ -0,0 +1,23 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import emoji from 'emoji-random';
+
+module.exports = class TestBot extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'test',
+ group: 'bot',
+ memberName: 'test',
+ description: 'Do not test in production!',
+ examples: ['uwu!test'],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ throttling: {
+ usages: 5,
+ duration: 30
+ }
+ });
+ }
+ run(msg: CommandoMessage) {
+ msg.reply(`Do not test in production! ${emoji.random()}`)
+ }
+}; \ No newline at end of file