fix(WebsocketShard): pass ignore ACK when Discord asks for a beat (#3993)

This commit is contained in:
didinele
2020-03-25 13:55:20 +02:00
committed by GitHub
parent f2fdb93318
commit 65e8c92d7c

View File

@@ -429,7 +429,7 @@ class WebSocketShard extends EventEmitter {
this.ackHeartbeat();
break;
case OPCodes.HEARTBEAT:
this.sendHeartbeat('HeartbeatRequest');
this.sendHeartbeat('HeartbeatRequest', true);
break;
default:
this.manager.handlePacket(packet, this);