mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 00:04:48 +02:00
Add User Count without Bots and Xiao Shard to Guild Info
This commit is contained in:
@@ -38,10 +38,12 @@ module.exports = class GuildInfoCommand extends commando.Command {
|
||||
message.guild.defaultChannel, true)
|
||||
.addField('**Region:**',
|
||||
message.guild.region, true)
|
||||
.addField('**XiaoBot Shard:**',
|
||||
this.client.shard.id)
|
||||
.addField('**Owner:**',
|
||||
`${message.guild.owner.user.username}#${message.guild.owner.user.discriminator}`, true)
|
||||
.addField('**Users:**',
|
||||
message.guild.memberCount, true);
|
||||
`${message.guild.memberCount} (With Bots) / ${message.guild.members.filter(member => !member.user.bot).size} (Without Bots)`, true);
|
||||
return message.embed(embed);
|
||||
}
|
||||
};
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "20.1.0",
|
||||
"version": "20.2.0",
|
||||
"description": "A Discord Bot",
|
||||
"main": "shardingmanager.js",
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user