diff options
| author | 8cy <[email protected]> | 2020-04-08 01:34:33 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-08 01:34:33 -0700 |
| commit | 80f5baf7d08a405888172cb9c494d7f9ca539562 (patch) | |
| tree | 5f1f27e719258b1288014b125e93cf3c1da9a07b | |
| parent | make botstatus command actually good, v1.4.1 (diff) | |
| download | s5nical-80f5baf7d08a405888172cb9c494d7f9ca539562.tar.xz s5nical-80f5baf7d08a405888172cb9c494d7f9ca539562.zip | |
add custom to botstatus types, v1.4.2
| -rw-r--r-- | app.js | 10 | ||||
| -rw-r--r-- | commands/botstatus.js | 2 |
2 files changed, 2 insertions, 10 deletions
@@ -133,16 +133,6 @@ bot.on('message', async msg => { return;
}
- // if (msg.content == 'playing') {
-
- // } else if (msg.content == 'steaming') {
-
- // } else if (msg.content == 'listening') {
-
- // } else if (msg.content == 'watching') {
-
- // }
-
// Small command which need app.js variables
if (command == 'uptime' | command == 'ut') {
msg.reply(duration);
diff --git a/commands/botstatus.js b/commands/botstatus.js index 1feeb4f..da2c85a 100644 --- a/commands/botstatus.js +++ b/commands/botstatus.js @@ -76,6 +76,8 @@ module.exports = { bot.user.setActivity(activityName, { type: m }); + } else if (args[1] == 'custom' || args[1] == 'c') { + msg.reply('custom status is disabled due to discord api policies about self-botting :('); } else if (args[1] == 'reset' || args[1] == 'r') { bot.user.setActivity(activityName, { type: 'LISTENING' |