user mention
This commit is contained in:
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user