This commit is contained in:
Erik 2020-04-11 22:16:45 +03:00
parent 976574a5a0
commit f3b5a1e255

View File

@ -32,6 +32,8 @@ class DiscordClient extends Client {
if(this._built) return undefined;
console.log('Building Discord client');
await super.login(this._options.bot.token);
await this.registry.loadComponents('components/commands/', Command);
@ -41,6 +43,8 @@ class DiscordClient extends Client {
this._built = true;
console.log('Client built');
}