mirror of
https://github.com/solero/houdini.git
synced 2025-11-29 12:48:29 +00:00
Decode coins collected from Redis (#108)
This commit is contained in:
@@ -47,7 +47,7 @@ async def handle_rainbow_quest_cookie(p):
|
|||||||
|
|
||||||
current_datetime = datetime.now()
|
current_datetime = datetime.now()
|
||||||
task_completion = await p.server.redis.get(f'houdini.rainbow_completion.{p.id}')
|
task_completion = await p.server.redis.get(f'houdini.rainbow_completion.{p.id}')
|
||||||
coins_collected = await p.server.redis.smembers(f'houdini.rainbow_coins.{p.id}')
|
coins_collected = {c.decode() for c in await p.server.redis.smembers(f'houdini.rainbow_coins.{p.id}')}
|
||||||
|
|
||||||
if task_completion:
|
if task_completion:
|
||||||
quest_wait = RainbowQuestWaitMember if p.is_member else RainbowQuestWait
|
quest_wait = RainbowQuestWaitMember if p.is_member else RainbowQuestWait
|
||||||
|
|||||||
Reference in New Issue
Block a user