Fixed latency log

This commit is contained in:
RogueException
2016-06-11 19:01:39 -03:00
parent cc5e0bbe13
commit 5278d798fa

View File

@@ -336,7 +336,7 @@ namespace Discord
await _gatewayLogger.DebugAsync("Received HeartbeatAck").ConfigureAwait(false);
var latency = (int)(Environment.TickCount - _heartbeatTime);
await _gatewayLogger.DebugAsync("Latency = {latency} ms").ConfigureAwait(false);
await _gatewayLogger.DebugAsync($"Latency = {latency} ms").ConfigureAwait(false);
Latency = latency;
await LatencyUpdated.RaiseAsync(latency).ConfigureAwait(false);