mirror of
https://github.com/danbulant/discord.js
synced 2026-06-10 02:02:40 +00:00
fix(WebsocketShard): pass ignore ACK when Discord asks for a beat (#3993)
This commit is contained in:
parent
f2fdb93318
commit
65e8c92d7c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue