fix-reply-feedback
This commit is contained in:
@@ -16,10 +16,14 @@ async def handle_routing(msg, state):
|
||||
if cid == uid:
|
||||
# сообщения в личке с ботом
|
||||
logger.info("private chat message")
|
||||
if msg["text"].startswith("/my"):
|
||||
await handle_command_my(msg, state)
|
||||
else:
|
||||
await handle_feedback(msg, state)
|
||||
if "text" in msg:
|
||||
text = msg["text"]
|
||||
if text.startswith("/my"):
|
||||
await handle_command_my(msg, state)
|
||||
elif text.startswith("/graph"):
|
||||
await handle_command_graph(msg)
|
||||
else:
|
||||
await handle_feedback(msg, state)
|
||||
|
||||
elif str(cid) == FEEDBACK_CHAT_ID:
|
||||
# сообщения из группы обратной связи
|
||||
|
Reference in New Issue
Block a user