SI_NN_ER_LS пре 2 година
родитељ
комит
9c17a01157
1 измењених фајлова са 1 додато и 1 уклоњено
  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,