randydev commited on
Commit
a2fe1cc
1 Parent(s): 94c8f3c

Update chatbot/plugins/join_request.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/join_request.py +1 -1
chatbot/plugins/join_request.py CHANGED
@@ -150,7 +150,7 @@ async def verify_captcha_multiple_choice_callback(client: Client, cb: CallbackQu
150
  correct_captcha = captcha_texts.get(user_id)
151
  logger.info(f"User {user_id} selected CAPTCHA: {user_choice} (Expected: {correct_captcha})")
152
  if user_choice == correct_captcha:
153
- await cb.edit_message_text("✅ CAPTCHA verification successful!)
154
  logger.info(f"User {user_id} successfully verified CAPTCHA.")
155
  await client.approve_chat_join_request(
156
  chat_id=captcha_texts.get("chat_id"),
 
150
  correct_captcha = captcha_texts.get(user_id)
151
  logger.info(f"User {user_id} selected CAPTCHA: {user_choice} (Expected: {correct_captcha})")
152
  if user_choice == correct_captcha:
153
+ await cb.edit_message_text("✅ CAPTCHA verification successful!")
154
  logger.info(f"User {user_id} successfully verified CAPTCHA.")
155
  await client.approve_chat_join_request(
156
  chat_id=captcha_texts.get("chat_id"),