Skip to content

Commit ab498f9

Browse files
committed
Added await this._bot.init() call in CopBot constructor.
1 parent dd3c08f commit ab498f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bot/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export class CopBot {
7070
}
7171
@Catch()
7272
async initial(): Promise<void> {
73+
await this._bot.init();
7374
await this.start();
7475
console.log('Bot is running');
7576
new GenerateCommand(this._bot).generate();

0 commit comments

Comments
 (0)