Skip to content

Commit 61aa544

Browse files
committed
feat: "Added call to startBot function in CopBot constructor"
1 parent d4d09eb commit 61aa544

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/bot/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export class CopBot {
8383
const webhookInfo = await this._bot.api.getWebhookInfo();
8484
logger.info(`Webhook set: ${webhookInfo.url}`);
8585
});
86+
await startBot(mode);
8687
} catch (err: any) {
8788
console.error('Error setting up webhook:', err);
8889
process.exit(1);

0 commit comments

Comments
 (0)