diff --git a/moderation/moderation.py b/moderation/moderation.py index 0800593..c75e5b0 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -45,7 +45,7 @@ class Moderation(commands.Cog): except ConnectionRefusedError: return - def cog_unload(self): + async def cog_unload(self): self.handle_expiry.cancel() @commands.Cog.listener('on_guild_join')