anti-dupe countermeasures
@@ -584,6 +584,8 @@ class Econ(commands.Cog):
await self.bot.send(ctx, ctx.l.econ.give.stupid_2)
return
+ await asyncio.sleep(random.random())
+
db_user = await self.db.fetch_user(ctx.author.id)
if 'pickaxe' in item.lower() or 'sword' in item.lower() or 'trophy' in item.lower() or 'amulet' in item.lower():
@@ -794,6 +796,8 @@ class Econ(commands.Cog):
await self.bot.send(ctx, ctx.l.econ.pillage.stupid_2)
return
+ await asyncio.sleep(random.random())
+
db_user = await self.db.fetch_user(ctx.author.id)
if db_user['emeralds'] < 64:
