mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-23 14:42:59 +03:00
Merge pull request #1003 from NikyOFF/main
fix: remove await before bot.launch
This commit is contained in:
commit
36f4260bc8
@ -9,7 +9,7 @@ export async function createBotFactory(
|
||||
bot.use(...(options.middlewares ?? []));
|
||||
|
||||
if (options.launchOptions !== false) {
|
||||
await bot.launch(options.launchOptions);
|
||||
bot.launch(options.launchOptions);
|
||||
}
|
||||
|
||||
return bot;
|
||||
|
Loading…
Reference in New Issue
Block a user