From 2e387ecee9b976ddecce3febbf15acbdf2240317 Mon Sep 17 00:00:00 2001 From: spiral Date: Sun, 23 Jan 2022 02:30:03 -0500 Subject: [PATCH] feat(api/private): add disconnection count to shard objects --- PluralKit.API/Controllers/PrivateController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PluralKit.API/Controllers/PrivateController.cs b/PluralKit.API/Controllers/PrivateController.cs index c9a26560..843cdd8a 100644 --- a/PluralKit.API/Controllers/PrivateController.cs +++ b/PluralKit.API/Controllers/PrivateController.cs @@ -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());