mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2026-03-04 07:30:53 +01:00
Fix imports
This commit is contained in:
@@ -70,16 +70,13 @@ export default class BotsManager {
|
||||
const oldBot = new Telegraf(state.token);
|
||||
await oldBot.telegram.deleteWebhook();
|
||||
await oldBot.telegram.logOut();
|
||||
} catch (e) {
|
||||
// Sentry.captureException(e);
|
||||
}
|
||||
} catch (e) {}
|
||||
|
||||
let bot: Telegraf;
|
||||
|
||||
try {
|
||||
bot = await getBot(state.token, state);
|
||||
} catch (e) {
|
||||
// Sentry.captureException(e);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user