forked from Supositware/Haha-Yes
show guild icon when bot get invited or kicked
This commit is contained in:
parent
f139270766
commit
4dcd778a2c
1 changed files with 2 additions and 0 deletions
2
index.js
2
index.js
|
@ -45,6 +45,7 @@ client.registry
|
|||
const addEmbed = new Discord.RichEmbed()
|
||||
.setColor("#52e80d")
|
||||
.setTitle('Someone added me ! YAY :D')
|
||||
.setThumbnail(guild.iconURL)
|
||||
.setDescription(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\nOwner ID: ${guild.owner}`)
|
||||
.setTimestamp()
|
||||
|
||||
|
@ -57,6 +58,7 @@ client.registry
|
|||
const kickEmbed = new Discord.RichEmbed()
|
||||
.setColor("#FF0000")
|
||||
.setTitle('They kicked me out :(')
|
||||
.setThumbnail(guild.iconURL)
|
||||
.setDescription(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\nOwner ID: ${guild.owner}`)
|
||||
.setTimestamp()
|
||||
|
||||
|
|
Loading…
Reference in a new issue