summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
author8cy <[email protected]>2020-05-05 17:30:26 -0700
committer8cy <[email protected]>2020-05-05 17:30:26 -0700
commita62dda297388e1d1b7e36ff37dbd667cd12a8066 (patch)
tree8672c5a0b3dc68f18e4b117a615b9db07c5b7b6d /src/commands
parentadd api, change sementic version tag (diff)
downloaddep-core-a62dda297388e1d1b7e36ff37dbd667cd12a8066.tar.xz
dep-core-a62dda297388e1d1b7e36ff37dbd667cd12a8066.zip
make default status cmd response uwufier's status
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/bot/status.ts15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/commands/bot/status.ts b/src/commands/bot/status.ts
index 272806f..7fe5bd0 100644
--- a/src/commands/bot/status.ts
+++ b/src/commands/bot/status.ts
@@ -34,7 +34,7 @@ module.exports = class StatusBot extends Command {
guarded: true
});
}
- run(msg, { uType, uActivity }) {
+ async run(msg, { uType, uActivity }) {
let bType = this.client.user?.presence.activities[0].type;
let bActivity = this.client.user?.presence.activities[0].name;
@@ -82,7 +82,18 @@ module.exports = class StatusBot extends Command {
type: 'WATCHING'
});
} else {
- return msg.reply(`That was not an option. ${emoji.random()}`)
+ if (bType == 'WATCHING') {
+ var bTypeSoften = 'Watching'
+ } else if (bType == 'STREAMING') {
+ var bTypeSoften = 'Watching'
+ } else if (bType == 'PLAYING') {
+ var bTypeSoften = 'Playing'
+ } else if (bType == 'LISTENING') {
+ var bTypeSoften = 'Listening'
+ } else {
+ var bTypeSoften = 'Unresolved'
+ }
+ return msg.reply(`My current status is \`${bTypeSoften} ${bActivity}\`. ${emoji.random()}`)
}
}
}; \ No newline at end of file