From 5adae6ac2e655da8212673897b6682037878c370 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Tue, 24 Aug 2021 18:46:26 +0300 Subject: [PATCH] client reads token from env --- src/structure/DiscordClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/DiscordClient.js b/src/structure/DiscordClient.js index 88314ae..096efe0 100644 --- a/src/structure/DiscordClient.js +++ b/src/structure/DiscordClient.js @@ -46,7 +46,7 @@ class DiscordClient extends Client { this.logger.info(`Built client in ${Date.now()-beforeTime}ms.`); - await super.login(); // process.env.DISCORD_TOKEN + await super.login(); this.emit('built'); this._built = true;