riddle success is now an answer of the message containing the solution

This commit is contained in:
Anselme 2026-08-06 17:54:10 +02:00
parent 3474cdcf53
commit b9e6bbe1a6

View File

@ -196,7 +196,7 @@ async def handle_riddle_solving(message, client: discord.Client) -> bool:
solver_id=solver_id,
)
await message.channel.send(
await message.reply(
SUCCESS.format(user=message.author.mention, answer=answer)
)
@ -209,6 +209,7 @@ async def handle_riddle_solving(message, client: discord.Client) -> bool:
current_riddle, solved=True, solver_mention=message.author.mention
)
)
# await message.add_reaction("✅")
except discord.errors.NotFound:
pass