Skip to content

Commit dff0e2a

Browse files
committed
Fix latency reporting to Uptime Kuma
1 parent 1b64fa5 commit dff0e2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Events/HeartbeatEvent.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public class HeartbeatEvent
66
{
77
public static async Task OnHeartbeat(IGatewayClient client)
88
{
9-
Program.discord.Logger.LogDebug("Heartbeat ping: {ping}", client.Ping.TotalMicroseconds);
9+
Program.discord.Logger.LogDebug("Heartbeat ping: {ping}", client.Ping.TotalMilliseconds);
1010
if (!string.IsNullOrEmpty(Environment.GetEnvironmentVariable("UPTIME_KUMA_PUSH_URL")) && client.IsConnected)
1111
{
1212
HttpResponseMessage response;

0 commit comments

Comments
 (0)