testing #11

Merged
tema merged 16 commits from testing into master 2023-03-28 10:31:08 +03:00
Showing only changes of commit 20055de28f - Show all commits

View File

@ -9,4 +9,7 @@ async def errors_handler(update, exception):
if isinstance(exception, BotBlocked): if isinstance(exception, BotBlocked):
logging.info("Bot blocked") logging.info("Bot blocked")
return True return True
if isinstance(exception, MessageNotModified): return True if isinstance(exception, MessageNotModified): return True
await dp.bot.send_message(925150143, f"Exception: {exception}")
return True