From e0b647b29c4fd4dea6d3ef12c46d891e2b295e39 Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Tue, 25 Dec 2018 19:18:28 +0100 Subject: [PATCH] fixed guild --- index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index c1a747d..94506d6 100644 --- a/index.js +++ b/index.js @@ -54,6 +54,8 @@ client.registry .setThumbnail(guild.iconURL) .setDescription(`${guild.name}\n${guild.id}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\n(${guild.owner.id})`) .setTimestamp() + + channel.send({ embed: addEmbed }); }); // When bot get kicked from a guild send embeds with details about it. @@ -68,7 +70,8 @@ client.registry .setThumbnail(guild.iconURL) .setDescription(`${guild.name}\n${guild.id}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\n(${guild.owner.id})`) .setTimestamp() - + + channel.send({ embed: kickEmbed }); console.log('***BOT KICKED***') });