fix: add thousands separator to status

This commit is contained in:
sam 2024-11-14 02:38:11 +01:00
parent 681aaa8254
commit cbb07f9cc3
Signed by: sam
GPG key ID: 5F3C3C1B3166639D

View file

@ -69,7 +69,7 @@ public class StatusUpdateService(ILogger logger, ShardedGatewayClient shardedCli
private UpdatePresence PresenceFor(int shardId) private UpdatePresence PresenceFor(int shardId)
{ {
var status = $"/catalogger help | in {CataloggerMetrics.GuildsCached.Value} servers"; var status = $"/catalogger help | in {CataloggerMetrics.GuildsCached.Value:N0} servers";
if (shardedClient.TotalShards != 1) if (shardedClient.TotalShards != 1)
status += $" | shard {shardId + 1}/{shardedClient.TotalShards}"; status += $" | shard {shardId + 1}/{shardedClient.TotalShards}";