summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-08 01:34:33 -0700
committer8cy <[email protected]>2020-04-08 01:34:33 -0700
commit80f5baf7d08a405888172cb9c494d7f9ca539562 (patch)
tree5f1f27e719258b1288014b125e93cf3c1da9a07b
parentmake botstatus command actually good, v1.4.1 (diff)
downloads5nical-80f5baf7d08a405888172cb9c494d7f9ca539562.tar.xz
s5nical-80f5baf7d08a405888172cb9c494d7f9ca539562.zip
add custom to botstatus types, v1.4.2
-rw-r--r--app.js10
-rw-r--r--commands/botstatus.js2
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'