fix fetching of do_reward
@@ -542,7 +542,7 @@ class Fun(commands.Cog):
@commands.command(name="trivia", aliases=["mctrivia"])
@commands.max_concurrency(1, per=commands.BucketType.user)
async def minecraft_trivia(self, ctx):
- do_reward = await self.ipc.exec(f"trivia_commands[{ctx.author.id}] += 1; trivia_commands[{ctx.author.id}] < 3")
+ do_reward = (await self.ipc.eval(f"trivia_commands[{ctx.author.id}] += 1; return trivia_commands[{ctx.author.id}] < 3")).result
question = random.choice(ctx.l.fun.trivia.questions)
if question.tf:
