From 62b5ec211c81310f33d6e2eede3edc0e5cfc9d38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sat, 8 Sep 2018 01:37:16 +0200 Subject: [PATCH] --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index d08c270e..c7fbb0e8 100644 --- a/index.js +++ b/index.js @@ -26,6 +26,8 @@ client.registry 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.user.setActivity('with nobody :('); + 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.`); }); // Auto respond to messages client.on("message", (message) => { @@ -33,7 +35,7 @@ client.registry message.channel.send(responseObject[message.content]); } }); - + client.on('error', console.error); client.login(token); \ No newline at end of file