Added server/user count to stats, fixed message not showing on tenor/large image errors

This commit is contained in:
Essem 2021-06-29 14:10:22 -05:00
parent 41c8be04cf
commit ae8b121d03
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
5 changed files with 23 additions and 6 deletions

View file

@ -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
}
]
}