fix(moderation): cog_unload is now a coroutine

This commit is contained in:
Seaswimmer 2023-10-05 16:44:54 -04:00
parent 819b36d267
commit bf8032de62
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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')