Added server/user count to stats, fixed message not showing on tenor/large image errors
This commit is contained in:
parent
41c8be04cf
commit
ae8b121d03
5 changed files with 23 additions and 6 deletions
|
@ -57,11 +57,22 @@ class StatsCommand extends Command {
|
|||
{
|
||||
"name": "Shard",
|
||||
"value": this.message.channel.guild ? this.client.guildShardMap[this.message.channel.guild.id] : "N/A",
|
||||
"inline": true
|
||||
},
|
||||
{
|
||||
"name": "Cluster",
|
||||
"value": this.cluster,
|
||||
"inline": true
|
||||
},
|
||||
{
|
||||
"name": "Servers",
|
||||
"value": collections.stats.guilds ? collections.stats.guilds : `${this.client.guilds.size} (for this cluster only)`,
|
||||
"inline": true
|
||||
},
|
||||
{
|
||||
"name": "Users (approximation)",
|
||||
"value": collections.stats.users ? collections.stats.users : `${this.client.users.size} (for this cluster only)`,
|
||||
"inline": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue