mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 19:50:55 +00:00
Webpack build: bac4ccead7
This commit is contained in:
parent
a3df125ebe
commit
6eb0da585c
2 changed files with 6 additions and 1 deletions
|
|
@ -21862,6 +21862,11 @@ class WebSocketPacketManager {
|
||||||
this.ws.client.emit('debug', 'Heartbeat acknowledged');
|
this.ws.client.emit('debug', 'Heartbeat acknowledged');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (packet.op === Constants.OPCodes.HEARTBEAT) {
|
||||||
|
this.client.ws.send({ op: Constants.OPCodes.HEARTBEAT_ACK });
|
||||||
|
this.ws.client.emit('debug', 'ACKed gateway heartbeat!');
|
||||||
|
}
|
||||||
|
|
||||||
if (this.ws.status === Constants.Status.RECONNECTING) {
|
if (this.ws.status === Constants.Status.RECONNECTING) {
|
||||||
this.ws.reconnecting = false;
|
this.ws.reconnecting = false;
|
||||||
this.ws.checkIfReady();
|
this.ws.checkIfReady();
|
||||||
|
|
|
||||||
2
discord.indev.min.js
vendored
2
discord.indev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue