Show guild id

This commit is contained in:
loicbersier 2018-10-01 20:06:16 +02:00
parent 2ee13f1228
commit e27033392e

View file

@ -46,7 +46,7 @@ client.registry
.setColor("#52e80d") .setColor("#52e80d")
.setTitle('Someone added me ! YAY :D') .setTitle('Someone added me ! YAY :D')
.setThumbnail(guild.iconURL) .setThumbnail(guild.iconURL)
.setDescription(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\nOwner ID: ${guild.owner}`) .setDescription(`${guild.name}\n${guild.id}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\n(${guild.owner})`)
.setTimestamp() .setTimestamp()
channel.send({ embed: addEmbed }); channel.send({ embed: addEmbed });
@ -61,7 +61,7 @@ client.registry
.setColor("#FF0000") .setColor("#FF0000")
.setTitle('They kicked me out :(') .setTitle('They kicked me out :(')
.setThumbnail(guild.iconURL) .setThumbnail(guild.iconURL)
.setDescription(`${guild.name}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\nOwner ID: ${guild.owner}`) .setDescription(`${guild.name}\n${guild.id}\n${guild.memberCount} users\nOwner: ${guild.owner.user.username}\n(${guild.owner})`)
.setTimestamp() .setTimestamp()
channel.send({ embed: kickEmbed }); channel.send({ embed: kickEmbed });