Template
mirror of
https://github.com/djimboy/djimbo_template_aio3.git
synced 2026-08-24 14:07:44 +00:00
Update
This commit is contained in:
@@ -8,14 +8,14 @@ from tgbot.utils.misc.bot_logging import bot_logger
|
||||
router = Router(name=__name__)
|
||||
|
||||
|
||||
# Ошибка с блокировкой бота пользователем
|
||||
# Error with block forbidden user
|
||||
# @router.errors(ExceptionTypeFilter(TelegramForbiddenError))
|
||||
# class MyHandler(ErrorHandler):
|
||||
# async def handle(self):
|
||||
# ...
|
||||
|
||||
|
||||
# Ошибка с редактированием одинакового сообщения
|
||||
# Error with edit duplicate message
|
||||
@router.errors(ExceptionMessageFilter(
|
||||
"Bad Request: message is not modified: specified new message content and reply markup are exactly the same as a current content and reply markup of the message")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user