Spaces:
Running
Running
Update chatbot/plugins/join_request.py
Browse files
chatbot/plugins/join_request.py
CHANGED
@@ -35,7 +35,7 @@ async def remove_captcha_after_timeout(client, user_id, delay=300):
|
|
35 |
await asyncio.sleep(delay)
|
36 |
if user_id in captcha_texts:
|
37 |
del captcha_texts[user_id]
|
38 |
-
await client.send_message(user_id, "⏰ Your CAPTCHA verification has expired. Please try again
|
39 |
logger.info(f"CAPTCHA for user {user_id} has expired and been removed.")
|
40 |
|
41 |
def generate_captcha_multiple_choice():
|
|
|
35 |
await asyncio.sleep(delay)
|
36 |
if user_id in captcha_texts:
|
37 |
del captcha_texts[user_id]
|
38 |
+
await client.send_message(user_id, "⏰ Your CAPTCHA verification has expired. Please try again.")
|
39 |
logger.info(f"CAPTCHA for user {user_id} has expired and been removed.")
|
40 |
|
41 |
def generate_captcha_multiple_choice():
|