diff --git a/plugins/group/captcha.py b/plugins/group/captcha.py index b80c8e66..19bceacd 100644 --- a/plugins/group/captcha.py +++ b/plugins/group/captcha.py @@ -324,7 +324,7 @@ class GroupCaptcha(Plugin): [ InlineKeyboardButton( answer.text, - callback_data=f"auth_challenge|{user.id}|{question['question_id']}|{answer['answer_id']}", + callback_data=f"auth_challenge|{user.id}|{question.question_id}|{answer.answer_id}", ) ] for answer in question.answers