mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Update handler timeout
This commit is contained in:
@@ -27,7 +27,8 @@ export async function createApprovedBot(token: string, state: BotState): Promise
|
||||
const bot = new Telegraf(token, {
|
||||
telegram: {
|
||||
apiRoot: env.TELEGRAM_BOT_API_ROOT,
|
||||
}
|
||||
},
|
||||
handlerTimeout: 300_000,
|
||||
});
|
||||
|
||||
const me = await bot.telegram.getMe();
|
||||
|
||||
Reference in New Issue
Block a user