Skip to content

Commit 63b9bec

Browse files
committedNov 1, 2024
remove await to bot launches and handlers are registered
1 parent de8a3e9 commit 63b9bec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/clients/telegram/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class TelegramClient {
4545
public async start(): Promise<void> {
4646
console.log("🚀 Starting Telegram bot...");
4747
try {
48-
await this.bot.launch({
48+
this.bot.launch({
4949
dropPendingUpdates: true,
5050
});
5151
console.log("✨ Telegram bot successfully launched and is running!");

0 commit comments

Comments
 (0)