fix /use <potion> command freezing econ commands
@@ -875,6 +875,8 @@ class Econ(commands.Cog):
await self.bot.send(ctx, ctx.l.econ.use.chug.format('Haste I Potion', 6))
+ self.d.pause_econ.pop(ctx.author.id, None)
+
await asyncio.sleep(60 * 6)
await self.bot.send(ctx.author, ctx.l.econ.use.done.format('Haste I Potion'))
@@ -890,6 +892,8 @@ class Econ(commands.Cog):
await self.bot.send(ctx, ctx.l.econ.use.chug.format('Haste II Potion', 4.5))
+ self.d.pause_econ.pop(ctx.author.id, None)
+
await asyncio.sleep(60 * 4.5)
await self.bot.send(ctx.author, ctx.l.econ.use.done.format('Haste II Potion'))
