aboutsummaryrefslogtreecommitdiff
path: root/bot_discord.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot_discord.js')
-rw-r--r--bot_discord.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/bot_discord.js b/bot_discord.js
index bfc0641..234a9c7 100644
--- a/bot_discord.js
+++ b/bot_discord.js
@@ -220,12 +220,11 @@ client.on('ready', () => {
dbl.postStats(client.guilds.size, client.shards.Id, client.shards.total);
}, 1800000);*/
client.user.setPresence({
- status: 'online',
- afk: false,
activity: {
- type: 0,
- name: activities[Math.floor(Math.random() * activities.length)],
+ name: activities[Math.floor(Math.random() * activities.length)]
},
+ status: 'online',
+ afk: false,
});
}, 200000);
client.user.setStatus('online');