mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 04:52:22 +00:00
"knock knock. who's there? ack lol. GET OFF MY PORCH!" (#1023)
This commit is contained in:
parent
bac4ccead7
commit
779681e88f
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue