mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 03:31:03 +00:00
Webpack build: 8d966932a9
This commit is contained in:
parent
79c7c66e8a
commit
b5baaf412a
2 changed files with 5 additions and 2 deletions
|
|
@ -21862,7 +21862,10 @@ class WebSocketPacketManager {
|
||||||
this.ws.lastHeartbeatAck = true;
|
this.ws.lastHeartbeatAck = true;
|
||||||
this.ws.client.emit('debug', 'Heartbeat acknowledged');
|
this.ws.client.emit('debug', 'Heartbeat acknowledged');
|
||||||
} else if (packet.op === Constants.OPCodes.HEARTBEAT) {
|
} else if (packet.op === Constants.OPCodes.HEARTBEAT) {
|
||||||
this.client.ws.send({ op: Constants.OPCodes.HEARTBEAT });
|
this.client.ws.send({
|
||||||
|
op: Constants.OPCodes.HEARTBEAT,
|
||||||
|
d: this.client.ws.sequence,
|
||||||
|
});
|
||||||
this.ws.client.emit('debug', 'Received gateway heartbeat');
|
this.ws.client.emit('debug', 'Received gateway heartbeat');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
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