summaryrefslogtreecommitdiff
path: root/src/commands/bot/test.ts
diff options
context:
space:
mode:
author8cy <[email protected]>2020-05-07 14:53:02 -0700
committer8cy <[email protected]>2020-05-07 14:53:02 -0700
commitd39052e139057b8303d79bb4192f677879797c92 (patch)
tree650c50f569f19f114be01ebe3dbf0aabfd6b54bc /src/commands/bot/test.ts
parentremove this bc this is unused and outdated (diff)
downloaddep-core-d39052e139057b8303d79bb4192f677879797c92.tar.xz
dep-core-d39052e139057b8303d79bb4192f677879797c92.zip
add cmd logging and join server logging to support server
- add depreciated join cmd *lol* - fix some formatting in btc and add defaults - add zero two cmd - add fortnite alias to fortnitestats
Diffstat (limited to 'src/commands/bot/test.ts')
-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