forked from Supositware/Haha-Yes
Merge branch 'master' of https://gitlab.com/loicbersier/discordbot
This commit is contained in:
commit
7d978527da
2 changed files with 5 additions and 2 deletions
|
@ -37,8 +37,11 @@ class ServerCommand extends Command {
|
|||
.setColor('#0099ff')
|
||||
.setTitle(message.guild.name)
|
||||
.setThumbnail(message.guild.iconURL())
|
||||
.addField('Member', message.guild.memberCount, true)
|
||||
.addField('Numbers of users', message.guild.members.filter(member => !member.user.bot).size, true)
|
||||
.addField('Numbers of bots', message.guild.members.filter(member => member.user.bot).size, true)
|
||||
.addField('Total numbers of members', message.guild.memberCount, true)
|
||||
.addField('Numbers of channel', message.guild.channels.size, true)
|
||||
.addBlankField()
|
||||
.addField('Date when guild created', message.guild.createdAt, true)
|
||||
.addField('Owner', message.guild.owner, true)
|
||||
.addField('Numbers of tag', count, true)
|
||||
|
|
|
@ -22,7 +22,7 @@ class guildCreateListener extends Listener {
|
|||
.addField('Guild name', guild.name, true)
|
||||
.addField('Guild ID', guild.id, true)
|
||||
.addField('Total numbers of members', guild.memberCount, true)
|
||||
.addField('Number of users', guild.members.filter(member => !member.user.bot).size, true)
|
||||
.addField('Numbers 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 ID', guild.owner.id, true)
|
||||
|
|
Loading…
Reference in a new issue