mirror of
https://github.com/danbulant/discord.js
synced 2026-06-07 16:52:16 +00:00
fix heartbeat (#737)
This commit is contained in:
parent
124965425a
commit
c8636fd277
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue