Spaces:
Running
Running
Update chatbot/plugins/join_request.py
Browse files
chatbot/plugins/join_request.py
CHANGED
@@ -68,7 +68,7 @@ async def join_request(client: Client, event: ChatJoinRequest):
|
|
68 |
if not m.user.is_bot:
|
69 |
user_list.append(m.user.id)
|
70 |
captcha_text, img_path, choices = generate_captcha_multiple_choice()
|
71 |
-
captcha_texts[
|
72 |
captcha_texts["chat_id"] = event.chat.id
|
73 |
keyboard = InlineKeyboardMarkup(
|
74 |
[
|
|
|
68 |
if not m.user.is_bot:
|
69 |
user_list.append(m.user.id)
|
70 |
captcha_text, img_path, choices = generate_captcha_multiple_choice()
|
71 |
+
captcha_texts[event.from_user.id] = captcha_text
|
72 |
captcha_texts["chat_id"] = event.chat.id
|
73 |
keyboard = InlineKeyboardMarkup(
|
74 |
[
|