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