randydev commited on
Commit
1d3df52
1 Parent(s): a2fe1cc

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
@@ -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[user_id] = captcha_text
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
  [