toxic-debug14

This commit is contained in:
Untone 2024-09-26 21:00:55 +03:00
parent b371bba60e
commit a9203fdeaf

View File

@ -12,7 +12,7 @@ logging.basicConfig(level=logging.DEBUG)
async def messages_routing(msg, state):
cid = msg["chat"]["id"]
uid = msg["from"]["id"]
text = msg.get("text")
text = msg.get("text", msg.get("caption"))
reply_msg = msg.get("reply_to_message")
if cid == uid: