From cfd1eb8a53eb0d4e1b802c35deb6702e834d0cb8 Mon Sep 17 00:00:00 2001 From: tropii <97747461+TropiiDev@users.noreply.github.com> Date: Fri, 24 Nov 2023 20:00:48 -0500 Subject: [PATCH] Economy Update --- commands/economy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/economy.py b/commands/economy.py index a213eeb..0523ca5 100644 --- a/commands/economy.py +++ b/commands/economy.py @@ -138,7 +138,7 @@ class economy(commands.Cog): users = sorted(users, key=lambda x: x["coins"], reverse=True) embed = discord.Embed(title="Leaderboard", description="The top 10 richest people in the server", color=discord.Color.blue()) for i in range(10): - embed.add_field(name=f"{i+1}. {ctx.guild.get_member(users[i]['_id']['author_id']).name}", value=f"{users[i]['coins']} bloboons", inline=False) + embed.add_field(name=f"{i+1}. {ctx.guild.get_member(users[i]['_id']['author_id']).display_name}", value=f"{users[i]['coins']} bloboons", inline=False) await ctx.send(embed=embed)