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