set resuming to false once we try to connect]

This commit is contained in:
hippoz 2022-02-03 20:44:07 +02:00
parent 0950241d3b
commit d92248543a
Signed by: hippoz
GPG key ID: 7C52899193467641

View file

@ -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()