mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-11-16 12:51:45 +00:00
🐛 Fix to get the question id
This commit is contained in:
parent
514d1bf3b0
commit
cfae262c0e
@ -274,8 +274,8 @@ class GroupJoiningVerification(Plugin):
|
|||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
raise err
|
raise err
|
||||||
index = random.choice(question_id_list) # nosec
|
question_id = random.choice(question_id_list) # nosec
|
||||||
question = await self.quiz_service.get_question(question_id_list[index])
|
question = await self.quiz_service.get_question(question_id)
|
||||||
buttons = [
|
buttons = [
|
||||||
[
|
[
|
||||||
InlineKeyboardButton(
|
InlineKeyboardButton(
|
||||||
|
Loading…
Reference in New Issue
Block a user