From bb251f7995adb8a567211b820af8de47afd54780 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Wed, 10 Oct 2018 12:05:46 +0200 Subject: [PATCH] added pretty color when bot login --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 12fc32a..4f12ad7 100644 --- a/index.js +++ b/index.js @@ -32,8 +32,8 @@ client.registry // Ready messages client.on('ready', async () => { // Send stats to the console - console.log(`Logged in as ${client.user.tag}! (${client.user.id})`); - console.log(`Ready to serve in ${client.channels.size} channels on ${client.guilds.size} servers, for a total of ${client.users.size} users. ${client.readyAt}`); + console.log(`\x1b[32mLogged in as \x1b[34m${client.user.tag}\x1b[0m! (\x1b[33m${client.user.id}\x1b[0m)`); + console.log(`Ready to serve in \x1b[33m${client.channels.size}\x1b[0m channels on \x1b[33m${client.guilds.size}\x1b[0m servers, for a total of \x1b[33m${client.users.size}\x1b[0m users. \x1b${client.readyAt}\x1b[0m`); // Send stats to the "stats" channel in the support server if its not the test bot if (client.user.id == 377563711927484418) { const channel = client.channels.get(statsChannel);