Fix imports

This commit is contained in:
2022-03-02 21:20:45 +03:00
parent cd43668aa7
commit 4045eb3bc4
5 changed files with 5 additions and 8 deletions

View File

@@ -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;
}