establish max amount of bees
@@ -218,12 +218,15 @@ class Econ(commands.Cog):
await ctx.send(embed=discord.Embed(color=discord.Color.green(), description="You don't have enough emeralds to buy a Fortune I Book."))
elif item == "jar of bees": # You'll have to move jar of bees to an item
+ if self.db.get_bees(ctx.author.id) < 3333:
if their_bal >= 8:
await self.db.set_balance(ctx.author.id, their_bal - 8)
await self.db.set_bees(ctx.author.id, await self.db.get_bees(ctx.author.id) + 1)
await ctx.send(embed=discord.Embed(color=discord.Color.green(), description="You have purchased a jar of be"+choice(["e", "eee", "ee", "eeeee", "eeeeeeeeeeeeeeee", "eeeeeeeeeee"])+"s"))
else:
await ctx.send(embed=discord.Embed(color=discord.Color.green(), description="You don't have enough emeralds to buy a jar of bees."))
+ else:
+ await ctx.send(embed=discord.Embed(color=discord.Color.green(), description="You can't have more than 9999 bees (3333 jars of bees)."))
elif item == "netherite scrap":
if their_bal >= 32:
