From 86b83e400e6c0b3afded49c175f73f4e916e46a7 Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Wed, 16 Feb 2022 14:03:46 +0200 Subject: [PATCH] DiscordClient: remove debug code --- DiscordClient.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/DiscordClient.js b/DiscordClient.js index 3d61044..6c8338b 100644 --- a/DiscordClient.js +++ b/DiscordClient.js @@ -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;