mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-25 09:37:30 +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(
|
InlineKeyboardButton(
|
||||||
answer.text,
|
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
|
for answer in question.answers
|
||||||
|
Loading…
Reference in New Issue
Block a user