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
|
||||
|
||||
if not private:
|
||||
intro = f"@{interaction.user.display_name} rolled:\n"
|
||||
intro = f"{interaction.user.mention} rolled:\n"
|
||||
else:
|
||||
intro = "You rolled:\n"
|
||||
msg = intro + "/n".join(result_text)
|
||||
|
||||
Reference in New Issue
Block a user