set resuming
to false once we try to connect]
This commit is contained in:
parent
0950241d3b
commit
d92248543a
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ class DiscordClient extends EventEmitter {
|
|||
|
||||
if (this.resuming) {
|
||||
console.warn("DiscordClient: resuming...");
|
||||
this.resuming = false;
|
||||
ws.send(JSON.stringify({
|
||||
op: opcodes.RESUME,
|
||||
d: this._getResumePayload()
|
||||
|
|
Loading…
Reference in a new issue