fix typo in buy command
@@ -407,7 +407,7 @@ class Econ(commands.Cog):
db_user = await self.db.fetch_user(ctx.author.id)
- if amount_item.startswith('max ') or item.startswith('all '):
+ if amount_item.startswith('max ') or amount_item.startswith('all '):
item = amount_item[4:]
amount = math.floor(db_user['emeralds'] / self.d.shop_items[item])
