user mention
This commit is contained in:
parent
3fe374337b
commit
aa0a9764d5
2
bot.py
2
bot.py
|
|
@ -34,7 +34,7 @@ async def roll(interaction: discord.Interaction, dice: str, private: bool):
|
||||||
return
|
return
|
||||||
|
|
||||||
if not private:
|
if not private:
|
||||||
intro = f"@{interaction.user.display_name} rolled:\n"
|
intro = f"{interaction.user.mention} rolled:\n"
|
||||||
else:
|
else:
|
||||||
intro = "You rolled:\n"
|
intro = "You rolled:\n"
|
||||||
msg = intro + "/n".join(result_text)
|
msg = intro + "/n".join(result_text)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue