mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
fix(WebsocketShard): pass ignore ACK when Discord asks for a beat (#3993)
This commit is contained in:
@@ -429,7 +429,7 @@ class WebSocketShard extends EventEmitter {
|
|||||||
this.ackHeartbeat();
|
this.ackHeartbeat();
|
||||||
break;
|
break;
|
||||||
case OPCodes.HEARTBEAT:
|
case OPCodes.HEARTBEAT:
|
||||||
this.sendHeartbeat('HeartbeatRequest');
|
this.sendHeartbeat('HeartbeatRequest', true);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
this.manager.handlePacket(packet, this);
|
this.manager.handlePacket(packet, this);
|
||||||
|
|||||||
Reference in New Issue
Block a user