riddle success is now an answer of the message containing the solution
This commit is contained in:
parent
3474cdcf53
commit
b9e6bbe1a6
@ -196,7 +196,7 @@ async def handle_riddle_solving(message, client: discord.Client) -> bool:
|
|||||||
solver_id=solver_id,
|
solver_id=solver_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
await message.channel.send(
|
await message.reply(
|
||||||
SUCCESS.format(user=message.author.mention, answer=answer)
|
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
|
current_riddle, solved=True, solver_mention=message.author.mention
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
# await message.add_reaction("✅")
|
||||||
except discord.errors.NotFound:
|
except discord.errors.NotFound:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user