DiscordClient: remove debug code

This commit is contained in:
hippoz 2022-02-16 14:03:46 +02:00
parent 7329570cb7
commit 86b83e400e
Signed by: hippoz
GPG key ID: 7C52899193467641

View file

@ -228,13 +228,6 @@ class DiscordClient extends EventEmitter {
this.ws = null;
}
setTimeout(() => {
if (!this.__init) {
this.__init = true;
this.ws.close();
}
}, 6000)
const ws = new WebSocket(this.gatewayUrl);
this.ws = ws;