summaryrefslogtreecommitdiff
path: root/src/commands/zerotwo/zerotwo.ts
diff options
context:
space:
mode:
author8cy <[email protected]>2020-06-27 22:52:54 -0700
committer8cy <[email protected]>2020-06-27 22:52:54 -0700
commit80951013e391aab140800e4f386867e6c391553f (patch)
tree3d7101237ef1cd8d6fe2a2fab751a2dc55ae7d84 /src/commands/zerotwo/zerotwo.ts
parentmore config shit (diff)
downloaddep-core-80951013e391aab140800e4f386867e6c391553f.tar.xz
dep-core-80951013e391aab140800e4f386867e6c391553f.zip
add ts defs so not a lot of errors left
- made .todo file for epic error tracking
Diffstat (limited to 'src/commands/zerotwo/zerotwo.ts')
-rw-r--r--src/commands/zerotwo/zerotwo.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/zerotwo/zerotwo.ts b/src/commands/zerotwo/zerotwo.ts
index 84a465d..ba9602a 100644
--- a/src/commands/zerotwo/zerotwo.ts
+++ b/src/commands/zerotwo/zerotwo.ts
@@ -1,9 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
// @ts-ignore no types
import emoji from 'emoji-random';
module.exports = class ZeroTwoZeroTwo extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'zerotwo',
group: 'zerotwo',
@@ -21,6 +21,6 @@ module.exports = class ZeroTwoZeroTwo extends Command {
});
}
run(msg: CommandoMessage) {
- msg.reply(`Zero Two is the best waifu of all, literally no one else can compare. Unironically she is the best waifu of all time. Literally praise her. This is not a joke she is literally the best. ${emoji.random()}`)
+ return msg.reply(`Zero Two is the best waifu of all, literally no one else can compare. Unironically she is the best waifu of all time. Literally praise her. This is not a joke she is literally the best. ${emoji.random()}`)
}
}; \ No newline at end of file