Spaces:
Running
Running
Update chatbot/plugins/join_request.py
Browse files
chatbot/plugins/join_request.py
CHANGED
@@ -243,7 +243,7 @@ async def join_request(client: Client, event: ChatJoinRequest):
|
|
243 |
captcha_texts["chat_link"] = chat_link
|
244 |
buttons = []
|
245 |
for choice in choices:
|
246 |
-
buttons.append([InlineKeyboardButton(choice, callback_data=f"verify_{
|
247 |
buttons.append([
|
248 |
InlineKeyboardButton("🔄 Refresh CAPTCHA", callback_data="refresh_captcha"),
|
249 |
InlineKeyboardButton("❌ Cancel", callback_data="cancel_captcha")
|
|
|
243 |
captcha_texts["chat_link"] = chat_link
|
244 |
buttons = []
|
245 |
for choice in choices:
|
246 |
+
buttons.append([InlineKeyboardButton(choice, callback_data=f"verify_{event.from_user.id}_{choice}")])
|
247 |
buttons.append([
|
248 |
InlineKeyboardButton("🔄 Refresh CAPTCHA", callback_data="refresh_captcha"),
|
249 |
InlineKeyboardButton("❌ Cancel", callback_data="cancel_captcha")
|