SI_NN_ER_LS il y a 2 ans
Parent
commit
9c17a01157
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      wbb/modules/greetings.py

+ 1 - 1
wbb/modules/greetings.py

@@ -204,7 +204,7 @@ async def handle_new_member(member, chat):
     keyboard = [temp_keyboard_1, temp_keyboard_2, temp_keyboard_3]
     shuffle(keyboard)
     verification_data = {
-        "chat_id": message.chat.id,
+        "chat_id": chat.id,
         "user_id": member.id,
         "answer": captcha_answer,
         "keyboard": keyboard,