mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Added heartbeat ack opcode
This commit is contained in:
@@ -162,6 +162,12 @@ public class DiscordService : IDisposable
|
||||
return;
|
||||
}
|
||||
|
||||
if (packet.OpCode == 11)
|
||||
{
|
||||
_logger.Debug("Received heartbeat ack from Discord");
|
||||
return;
|
||||
}
|
||||
|
||||
if (packet.OpCode != 0)
|
||||
{
|
||||
_logger.Info($"Op code {packet.OpCode} was unhandled. JSON follows");
|
||||
|
||||
Reference in New Issue
Block a user