generated from FOSS/Bot-Template
style: reformat imports, whitespace and line breaks across project
This commit is contained in:
@@ -21,7 +21,9 @@ router = Router(name=__name__)
|
||||
class MessageNotModifiedHandler(ErrorHandler):
|
||||
async def handle(self):
|
||||
if "message is not modified" in self.exception_message.lower():
|
||||
bot_logger.debug("Telegram отклонил повторное редактирование сообщения без изменений")
|
||||
bot_logger.debug(
|
||||
"Telegram отклонил повторное редактирование сообщения без изменений"
|
||||
)
|
||||
return True
|
||||
|
||||
raise self.event
|
||||
|
||||
Reference in New Issue
Block a user