ethiotech4848 commited on
Commit
6a717a0
·
verified ·
1 Parent(s): 2fa0f23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ async def ask(request: Request):
63
  return {"status": "ignored"}
64
 
65
  # Handle special bot resume command
66
- if sender_role == "agent" and message_content.lower() == "/botresume":
67
  stop_reply_conversations.discard(conversation_id)
68
  print(f"ℹ️ Bot resumed for conversation {conversation_id}")
69
  await send_chatwoot_message(conversation_id, "Bot resumed and will reply to users now.")
 
63
  return {"status": "ignored"}
64
 
65
  # Handle special bot resume command
66
+ if sender_role == "agent" and message_content.lower() == "#botresume":
67
  stop_reply_conversations.discard(conversation_id)
68
  print(f"ℹ️ Bot resumed for conversation {conversation_id}")
69
  await send_chatwoot_message(conversation_id, "Bot resumed and will reply to users now.")