From 80f5baf7d08a405888172cb9c494d7f9ca539562 Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Wed, 8 Apr 2020 01:34:33 -0700 Subject: add custom to botstatus types, v1.4.2 --- app.js | 10 ---------- commands/botstatus.js | 2 ++ 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/app.js b/app.js index e69dab1..7de3df3 100644 --- a/app.js +++ b/app.js @@ -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' -- cgit v1.2.3