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