fixed guild

This commit is contained in:
Loic Bersier 2018-12-25 19:18:28 +01:00
parent 24decdbf9a
commit e0b647b29c

View file

@ -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.
@ -69,6 +71,7 @@ client.registry
.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***')
});