mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-21 22:58:05 +00:00
🐛 Fix Exception that 'Question' object is not subscriptable
This commit is contained in:
parent
01727ca94b
commit
393c410821
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user