finish inv command
@@ -167,10 +167,13 @@ class Econ(commands.Cog):
m = await self.db.get_item(u.id, item[0])
contents += f"{m[1]}x **{m[0]}** (sells for {m[2]}{self.emerald})\n"
if i % rows == 0:
- inv.add_field(name="\uFEFF", value=contents)
+ if i <= rows:
+ inv.add_field(name="Sellable Items", value=contents, inline=False)
+ else:
+ inv.add_field(name="\uFEFF", value=contents, inline=False)
contents = ""
if contents is not "":
- inv.add_field(name="\uFEFF", value=contents)
+ inv.add_field(name="\uFEFF", value=contents, inline=False)
if not u.avatar_url:
inv.set_author(name=f"{u.display_name}'s Inventory", url=discord.Embed.Empty)
