From a62dda297388e1d1b7e36ff37dbd667cd12a8066 Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Tue, 5 May 2020 17:30:26 -0700 Subject: make default status cmd response uwufier's status --- src/commands/bot/status.ts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src/commands/bot') 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 -- cgit v1.2.3