fix(moderation): cog_unload is now a coroutine
This commit is contained in:
parent
819b36d267
commit
bf8032de62
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class Moderation(commands.Cog):
|
||||||
except ConnectionRefusedError:
|
except ConnectionRefusedError:
|
||||||
return
|
return
|
||||||
|
|
||||||
def cog_unload(self):
|
async def cog_unload(self):
|
||||||
self.handle_expiry.cancel()
|
self.handle_expiry.cancel()
|
||||||
|
|
||||||
@commands.Cog.listener('on_guild_join')
|
@commands.Cog.listener('on_guild_join')
|
||||||
|
|
Loading…
Reference in a new issue