move badges to bottom of profile embed
@@ -121,7 +121,6 @@ class Econ(commands.Cog):
await self.db.update_user(user.id, vote_streak=0, last_vote=None)
user_badges_str = self.badges.emojify_badges(await self.badges.fetch_user_badges(user.id))
- user_badges_str = f"\n\n{user_badges_str}" if user_badges_str else ""
embed = discord.Embed(color=self.d.cc, description=f"{health_bar}{user_badges_str}")
embed.set_author(name=user.display_name, icon_url=user.avatar_url_as())
@@ -138,6 +137,9 @@ class Econ(commands.Cog):
embed.add_field(name="\uFEFF", value="\uFEFF")
embed.add_field(name=ctx.l.econ.pp.sword, value=(await self.db.fetch_sword(user.id)))
+ if user_badges_str:
+ embed.add_field(name="\uFEFF", value=user_badges_str)
+
await ctx.reply(embed=embed, mention_author=False)
@commands.command(name="balance", aliases=["bal", "vault", "pocket"])
