From 7c49f359f1321018eaf7046958b338bb5477399d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sat, 8 Sep 2018 20:20:20 +0200 Subject: [PATCH] fixed my dumb mistake --- index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.js b/index.js index baa0bc33..f00171f6 100644 --- a/index.js +++ b/index.js @@ -29,12 +29,10 @@ client.registry client.user.setActivity(activity); 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.on("guildCreate", guild => { - console.log(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner}`) - }); }); // when bot join a guild send embeds with detail about it client.on("guildCreate", guild => { + console.log(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner}`) const channel = client.channels.get('487766113292124160'); const exampleEmbed = { color: 0x0099ff,