mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +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, {
|
const bot = new Telegraf(token, {
|
||||||
telegram: {
|
telegram: {
|
||||||
apiRoot: env.TELEGRAM_BOT_API_ROOT,
|
apiRoot: env.TELEGRAM_BOT_API_ROOT,
|
||||||
}
|
},
|
||||||
|
handlerTimeout: 300_000,
|
||||||
});
|
});
|
||||||
|
|
||||||
const me = await bot.telegram.getMe();
|
const me = await bot.telegram.getMe();
|
||||||
|
|||||||
Reference in New Issue
Block a user