mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat: add cluster ID to shard state
This commit is contained in:
parent
f13c60a841
commit
1ec3663f63
3 changed files with 9 additions and 1 deletions
|
|
@ -61,6 +61,8 @@ public static class PrivateJsonExt
|
|||
s.Add("disconnection_count", shard.DisconnectionCount);
|
||||
s.Add("last_heartbeat", shard.LastHeartbeat.ToString());
|
||||
s.Add("last_connection", shard.LastConnection.ToString());
|
||||
if (shard.HasClusterId)
|
||||
s.Add("cluster_id", shard.ClusterId);
|
||||
|
||||
o.Add(s);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue