fixed guild
This commit is contained in:
parent
24decdbf9a
commit
e0b647b29c
1 changed files with 4 additions and 1 deletions
3
index.js
3
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.
|
||||
|
@ -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***')
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue