mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
fix
This commit is contained in:
parent
4b62762c13
commit
aa456d3e8d
@ -133,6 +133,7 @@ async def handle_user_message(message: types.Message, super_chat_id: int, bot):
|
|||||||
return SendMessage(chat_id=message.chat.id, text=_("Не удаётся связаться с владельцем бота"))
|
return SendMessage(chat_id=message.chat.id, text=_("Не удаётся связаться с владельцем бота"))
|
||||||
except exceptions.MessageToForwardNotFound:
|
except exceptions.MessageToForwardNotFound:
|
||||||
_logger.error("(exception) Message to forward not found")
|
_logger.error("(exception) Message to forward not found")
|
||||||
|
return
|
||||||
|
|
||||||
bot.incoming_messages_count = F("incoming_messages_count") + 1
|
bot.incoming_messages_count = F("incoming_messages_count") + 1
|
||||||
await bot.save(update_fields=["incoming_messages_count"])
|
await bot.save(update_fields=["incoming_messages_count"])
|
||||||
|
Loading…
Reference in New Issue
Block a user