forked from Supositware/Haha-Yes
Shows number of bot in the guild
This commit is contained in:
parent
bf934e0268
commit
5be3b9645b
2 changed files with 4 additions and 2 deletions
|
@ -21,7 +21,8 @@ class guildCreateListener extends Listener {
|
|||
.setThumbnail(guild.iconURL())
|
||||
.addField('Guild name', guild.name, true)
|
||||
.addField('Guild ID', guild.id, true)
|
||||
.addField('Numbers of members', guild.memberCount)
|
||||
.addField('Numbers of members', guild.memberCount, true)
|
||||
.addField('Numbers of bot', guild.members.filter(member => !member.user.bot).size, true)
|
||||
.addField('Owner', guild.owner.user.username, true)
|
||||
.addField('Owner ID', guild.owner.id, true)
|
||||
.setFooter(`Im now in ${this.client.guilds.size} servers!`)
|
||||
|
|
|
@ -22,7 +22,8 @@ class guildCreateListener extends Listener {
|
|||
.setThumbnail(guild.iconURL())
|
||||
.addField('Guild name', guild.name, true)
|
||||
.addField('Guild ID', guild.id, true)
|
||||
.addField('Numbers of members', guild.memberCount)
|
||||
.addField('Numbers of members', guild.memberCount, true)
|
||||
.addField('Numbers of bot', guild.members.filter(member => !member.user.bot).size, true)
|
||||
.addField('Owner', guild.owner.user.username, true)
|
||||
.addField('Owner ID', guild.owner.id, true)
|
||||
.setFooter(`Im now in ${this.client.guilds.size} servers!`)
|
||||
|
|
Loading…
Reference in a new issue