client reads token from env

This commit is contained in:
Erik 2021-08-24 18:46:26 +03:00
parent 323ead79c3
commit 5adae6ac2e
No known key found for this signature in database
GPG Key ID: 7E862371D3409F16

View File

@ -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;