summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
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