From 7ed8c350724853adc575c25b9750ba3f0442c56d Mon Sep 17 00:00:00 2001 From: Supositware Date: Sat, 23 Mar 2019 19:00:51 +0100 Subject: [PATCH] Fixed bot activity on startup ( about time ) --- event/listeners/ready.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/event/listeners/ready.js b/event/listeners/ready.js index bf24ab48..7fcfff7f 100644 --- a/event/listeners/ready.js +++ b/event/listeners/ready.js @@ -14,12 +14,15 @@ class ReadyListener extends Listener { // Send stats to the console console.log(`\x1b[32mLogged in as \x1b[34m${this.client.user.tag}\x1b[0m! (\x1b[33m${this.client.user.id}\x1b[0m)`); console.log(`Ready to serve in \x1b[33m${this.client.channels.size}\x1b[0m channels on \x1b[33m${this.client.guilds.size}\x1b[0m servers, for a total of \x1b[33m${this.client.users.size}\x1b[0m users. \x1b${this.client.readyAt}\x1b[0m`); + + //Bot activity + this.client.user.setActivity(`${prefix} feedback to tell me what you think of the bot! | ${prefix} help`); + // Send stats to the 'stats' channel in the support server if its not the test bot if (this.client.user.id == 377563711927484418) { const channel = this.client.channels.get(statsChannel); channel.send(`Ready to serve in ${this.client.channels.size} channels on ${this.client.guilds.size} servers, for a total of ${this.client.users.size} users. ${this.client.readyAt}`); } - this.client.user.setActivity(`${prefix} feedback to tell me what you think of the bot! | ${prefix} help`); } }