forked from Galactic/galactic-bot
log
This commit is contained in:
parent
976574a5a0
commit
f3b5a1e255
@ -32,6 +32,8 @@ class DiscordClient extends Client {
|
|||||||
|
|
||||||
if(this._built) return undefined;
|
if(this._built) return undefined;
|
||||||
|
|
||||||
|
console.log('Building Discord client');
|
||||||
|
|
||||||
await super.login(this._options.bot.token);
|
await super.login(this._options.bot.token);
|
||||||
|
|
||||||
await this.registry.loadComponents('components/commands/', Command);
|
await this.registry.loadComponents('components/commands/', Command);
|
||||||
@ -41,6 +43,8 @@ class DiscordClient extends Client {
|
|||||||
|
|
||||||
this._built = true;
|
this._built = true;
|
||||||
|
|
||||||
|
console.log('Client built');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user