fix heartbeat (#737)

This commit is contained in:
Gus Caplan
2016-09-25 01:56:18 -05:00
committed by abal
parent 124965425a
commit c8636fd277

View File

@@ -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);
}