aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2021-03-14 09:52:25 +0100
committerGravatar kwzrd <[email protected]>2021-03-14 09:55:09 +0100
commit49720c72df05703168756d8fcadd017e11dd6ece (patch)
tree011a1f973628fef37c5ae646c800c0edb09e6331
parentBranding: show success information in 'sync' response (diff)
Branding: make 'cog_unload' synchronous
Discord.py doesn't await the return value.
-rw-r--r--bot/exts/backend/branding/_cog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/backend/branding/_cog.py b/bot/exts/backend/branding/_cog.py
index 0664a5c6c..269aa6ad2 100644
--- a/bot/exts/backend/branding/_cog.py
+++ b/bot/exts/backend/branding/_cog.py
@@ -361,7 +361,7 @@ class Branding(commands.Cog):
if should_begin:
self.daemon_main.start()
- async def cog_unload(self) -> None:
+ def cog_unload(self) -> None:
"""
Cancel the daemon in case of cog unload.