mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
parent
984a97d958
commit
b1ccfab6d2
1
changelog.d/mod/2932.bugfix.rst.txt
Normal file
1
changelog.d/mod/2932.bugfix.rst.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fixed an error when reloading the core mod cog
|
||||||
@ -79,7 +79,6 @@ class Mod(
|
|||||||
await self._maybe_update_config()
|
await self._maybe_update_config()
|
||||||
|
|
||||||
def cog_unload(self):
|
def cog_unload(self):
|
||||||
self.registration_task.cancel()
|
|
||||||
self.tban_expiry_task.cancel()
|
self.tban_expiry_task.cancel()
|
||||||
|
|
||||||
async def _maybe_update_config(self):
|
async def _maybe_update_config(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user