Set _heartbeatTime before sending a heartbeat
This commit is contained in:
@@ -1566,11 +1566,11 @@ namespace Discord.WebSocket
|
||||
return;
|
||||
}
|
||||
}
|
||||
_heartbeatTime = Environment.TickCount;
|
||||
|
||||
try
|
||||
{
|
||||
await ApiClient.SendHeartbeatAsync(_lastSeq).ConfigureAwait(false);
|
||||
_heartbeatTime = Environment.TickCount;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user