Change formatting of shard number in status
This commit is contained in:
parent
c551533313
commit
ca57d10f7c
@ -121,7 +121,7 @@ namespace PluralKit.Bot
|
|||||||
try // DiscordClient may throw an exception if the socket is closed (e.g just after OP 7 received)
|
try // DiscordClient may throw an exception if the socket is closed (e.g just after OP 7 received)
|
||||||
{
|
{
|
||||||
foreach (var c in _client.ShardClients.Values)
|
foreach (var c in _client.ShardClients.Values)
|
||||||
await c.UpdateStatusAsync(new DiscordActivity($"pk;help | in {totalGuilds} servers | Shard {c.ShardId}"));
|
await c.UpdateStatusAsync(new DiscordActivity($"pk;help | in {totalGuilds} servers | shard #{c.ShardId}"));
|
||||||
}
|
}
|
||||||
catch (WebSocketException) { }
|
catch (WebSocketException) { }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user