Make the embed look better

Signed-off-by: loicbersier <loic.bersier1@gmail.com>
This commit is contained in:
loicbersier 2020-04-30 22:28:21 +02:00
parent 11b0665836
commit b8105f2f1d
2 changed files with 4 additions and 8 deletions

View file

@ -19,13 +19,11 @@ class guildCreateListener extends Listener {
.setTitle('New boiz in town') .setTitle('New boiz in town')
.setURL('https://www.youtube.com/watch?v=6n3pFFPSlW4') .setURL('https://www.youtube.com/watch?v=6n3pFFPSlW4')
.setThumbnail(guild.iconURL()) .setThumbnail(guild.iconURL())
.addField('Guild name', guild.name, true) .addField('Guild', `${guild.name} (${guild.id})`)
.addField('Guild ID', guild.id, true)
.addField('Total number of members', guild.memberCount, true) .addField('Total number of members', guild.memberCount, true)
.addField('Number of users', guild.memberCount - botCount, true) .addField('Number of users', guild.memberCount - botCount, true)
.addField('Number of bots', botCount, true) .addField('Number of bots', botCount, true)
.addField('Owner', guild.owner.user.username, true) .addField('Owner', `${guild.owner.user.username} (${guild.owner.id})`, true)
.addField('Owner ID', guild.owner.id, true)
.setFooter(`I'm now in ${this.client.guilds.cache.size} servers!`) .setFooter(`I'm now in ${this.client.guilds.cache.size} servers!`)
.setTimestamp(); .setTimestamp();

View file

@ -21,13 +21,11 @@ class guildCreateListener extends Listener {
.setTitle('Some mofo just removed me from there guild :(') .setTitle('Some mofo just removed me from there guild :(')
.setURL('https://www.youtube.com/watch?v=6n3pFFPSlW4') .setURL('https://www.youtube.com/watch?v=6n3pFFPSlW4')
.setThumbnail(guild.iconURL()) .setThumbnail(guild.iconURL())
.addField('Guild name', guild.name, true) .addField('Guild', `${guild.name} (${guild.id})`)
.addField('Guild ID', guild.id, true)
.addField('Total number of members', guild.memberCount, true) .addField('Total number of members', guild.memberCount, true)
.addField('Number of users', guild.memberCount - botCount, true) .addField('Number of users', guild.memberCount - botCount, true)
.addField('Number of bots', botCount, true) .addField('Number of bots', botCount, true)
.addField('Owner', guild.owner.user.username, true) .addField('Owner', `${guild.owner.user.username} (${guild.owner.id})`, true)
.addField('Owner ID', guild.owner.id, true)
.setFooter(`I'm now in ${this.client.guilds.cache.size} servers!`) .setFooter(`I'm now in ${this.client.guilds.cache.size} servers!`)
.setTimestamp(); .setTimestamp();