mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
Webpack build: 84991c767e
This commit is contained in:
parent
79bee48ccc
commit
dcc6e3e274
2 changed files with 3 additions and 5 deletions
|
|
@ -21860,11 +21860,9 @@ class WebSocketPacketManager {
|
|||
this.ws.client._pong(this.ws.client._pingTimestamp);
|
||||
this.ws.lastHeartbeatAck = true;
|
||||
this.ws.client.emit('debug', 'Heartbeat acknowledged');
|
||||
}
|
||||
|
||||
if (packet.op === Constants.OPCodes.HEARTBEAT) {
|
||||
} else if (packet.op === Constants.OPCodes.HEARTBEAT) {
|
||||
this.client.ws.send({ op: Constants.OPCodes.HEARTBEAT });
|
||||
this.ws.client.emit('debug', 'Received gateway heartbeat!');
|
||||
this.ws.client.emit('debug', 'Received gateway heartbeat');
|
||||
}
|
||||
|
||||
if (this.ws.status === Constants.Status.RECONNECTING) {
|
||||
|
|
|
|||
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