mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat(api/private): add disconnection count to shard objects
This commit is contained in:
parent
d948d445ec
commit
2e387ecee9
1 changed files with 1 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ public static class PrivateJsonExt
|
|||
s.Add("status", "up");
|
||||
|
||||
s.Add("ping", shard.Latency);
|
||||
s.Add("disconnection_count", shard.DisconnectionCount);
|
||||
s.Add("last_heartbeat", shard.LastHeartbeat.ToString());
|
||||
s.Add("last_connection", shard.LastConnection.ToString());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue