mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
"knock knock. who's there? ack lol. GET OFF MY PORCH!" (#1023)
This commit is contained in:
@@ -96,8 +96,8 @@ class WebSocketPacketManager {
|
||||
}
|
||||
|
||||
if (packet.op === Constants.OPCodes.HEARTBEAT) {
|
||||
this.client.ws.send({ op: Constants.OPCodes.HEARTBEAT_ACK });
|
||||
this.ws.client.emit('debug', 'ACKed gateway heartbeat!');
|
||||
this.client.ws.send({ op: Constants.OPCodes.HEARTBEAT });
|
||||
this.ws.client.emit('debug', 'Recieved gateway heartbeat!');
|
||||
}
|
||||
|
||||
if (this.ws.status === Constants.Status.RECONNECTING) {
|
||||
|
||||
Reference in New Issue
Block a user