prevent KeyError occuring when popping items from the pause_econ dict
@@ -27,7 +27,7 @@ class Mobs(commands.Cog): # fuck I really don't want to work on this
async def clear_pauses(self):
for uid in list(self.d.pause_econ):
if (arrow.utcnow() - self.d.pause_econ[uid]).seconds > 30:
- self.d.pause_econ.pop(uid)
+ self.d.pause_econ.pop(uid, None)
def engage_check(self, m, ctx):
u = m.author
