mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-09 02:42:30 -05:00
d.py 2.3 / pomelo changes (#6130)
Co-authored-by: Michael Oliveira <34169552+Flame442@users.noreply.github.com>
This commit is contained in:
@@ -434,7 +434,9 @@ class Economy(commands.Cog):
|
||||
if show_global and await bank.is_global():
|
||||
# show_global is only applicable if bank is global
|
||||
bank_sorted = await bank.get_leaderboard(positions=top, guild=None)
|
||||
base_embed.set_author(name=ctx.bot.user.name, icon_url=ctx.bot.user.display_avatar)
|
||||
base_embed.set_author(
|
||||
name=ctx.bot.user.display_name, icon_url=ctx.bot.user.display_avatar
|
||||
)
|
||||
else:
|
||||
bank_sorted = await bank.get_leaderboard(positions=top, guild=guild)
|
||||
if guild:
|
||||
|
||||
Reference in New Issue
Block a user