mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
fix heartbeat (#737)
This commit is contained in:
@@ -51,7 +51,7 @@ class ClientManager {
|
|||||||
this.heartbeatInterval = this.client.setInterval(() => {
|
this.heartbeatInterval = this.client.setInterval(() => {
|
||||||
this.client.ws.send({
|
this.client.ws.send({
|
||||||
op: Constants.OPCodes.HEARTBEAT,
|
op: Constants.OPCodes.HEARTBEAT,
|
||||||
d: Date.now(),
|
d: this.client.ws.sequence,
|
||||||
}, true);
|
}, true);
|
||||||
}, time);
|
}, time);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user