Spaces:
Running
Running
Update chatbot/plugins/join_request.py
Browse files
chatbot/plugins/join_request.py
CHANGED
@@ -54,7 +54,7 @@ async def join_request(client: Client, event: ChatJoinRequest):
|
|
54 |
if not m.user.is_bot:
|
55 |
user_list.append(m.user.id)
|
56 |
captcha_text, img_path = generate_captcha()
|
57 |
-
captcha_texts[
|
58 |
captcha_texts["chat_id"] = event.chat.id
|
59 |
keyboard = InlineKeyboardMarkup(
|
60 |
[
|
|
|
54 |
if not m.user.is_bot:
|
55 |
user_list.append(m.user.id)
|
56 |
captcha_text, img_path = generate_captcha()
|
57 |
+
captcha_texts[event.from_user.id] = captcha_text
|
58 |
captcha_texts["chat_id"] = event.chat.id
|
59 |
keyboard = InlineKeyboardMarkup(
|
60 |
[
|