From afe817d8eadbcb669b108503a573f7e29d70ef4a Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Mon, 5 Nov 2018 14:05:08 +0100 Subject: [PATCH] Dosent mention user anymore when bot get kicked/added --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 1920b47..0e5f098 100644 --- a/index.js +++ b/index.js @@ -51,7 +51,7 @@ client.registry .setTitle('Someone added me ! YAY :D') .setURL('https://www.youtube.com/watch?v=6n3pFFPSlW4') .setThumbnail(guild.iconURL) - .setDescription(`${guild.name}\n${guild.id}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\n(${guild.owner})`) + .setDescription(`${guild.name}\n${guild.id}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\n(${guild.owner.id})`) .setTimestamp() channel.send({ embed: addEmbed }); @@ -67,7 +67,7 @@ client.registry .setTitle('They kicked me out :(') .setURL('https://www.youtube.com/watch?v=6n3pFFPSlW4') .setThumbnail(guild.iconURL) - .setDescription(`${guild.name}\n${guild.id}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\n(${guild.owner})`) + .setDescription(`${guild.name}\n${guild.id}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\n(${guild.owner.id})`) .setTimestamp() console.log('***BOT KICKED***')