From bf8032de6240932d05dae40c9468829f2231e59f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 5 Oct 2023 16:44:54 -0400 Subject: [PATCH] fix(moderation): cog_unload is now a coroutine --- moderation/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')