diff --git a/bot.py b/bot.py index 0c69e37..df0debc 100644 --- a/bot.py +++ b/bot.py @@ -30,7 +30,7 @@ async def on_ready(): @tree.command(name = 'cool', description = 'Check how cool you are!', guild=discord.Object(id='745287426402156555')) async def cool(ctx: discord.Interaction): cool_factor = round(random.uniform(0, 100), 2) - await ctx.response.send_message(f'{ctx.user} is {cool_factor}% cool!') + await ctx.response.send_message(f'{ctx.user.display_name} is {cool_factor}% cool!') @tree.command(name = 'update', description = 'Pulls the latest version from the repository', guild=discord.Object(id='745287426402156555')) @app_commands.checks.has_role(745295653651087381)