From 512080c714649f60427a66b733282ce11795f47d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sun, 9 Sep 2018 00:53:08 +0200 Subject: [PATCH] Added default activity --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index 15a4981f..a505d160 100644 --- a/index.js +++ b/index.js @@ -24,11 +24,14 @@ client.registry .registerCommandsIn(path.join(__dirname, 'commands')); // Ready messages client.on('ready', () => { +// 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}`); // Send stats to the "stats" channel in the support server const channel = client.channels.get('487766113292124160'); channel.send(`Ready to serve in ${client.channels.size} channels on ${client.guilds.size} servers, for a total of ${client.users.size} users. ${client.readyAt}`); + + client.user.setActivity('"haha" or @me for help'); }); // When bot join a guild send embeds with details about it. client.on("guildCreate", guild => {