Added background-image to quizzes

This commit is contained in:
Mawoka
2022-12-28 19:07:32 +01:00
parent d89f934f5b
commit 1633d56299
9 changed files with 114 additions and 6 deletions
+1
View File
@@ -126,6 +126,7 @@ async def start_quiz(
user_id=user.id,
background_color=quiz.background_color,
custom_field=custom_field,
background_image=quiz.background_image,
)
await redis.set(f"game:{str(game.game_pin)}", game.json(), ex=18000)
await redis.set(f"game_pin:{user.id}:{quiz_id}", game_pin, ex=18000)