From 49720c72df05703168756d8fcadd017e11dd6ece Mon Sep 17 00:00:00 2001 From: kwzrd Date: Sun, 14 Mar 2021 09:52:25 +0100 Subject: Branding: make 'cog_unload' synchronous Discord.py doesn't await the return value. --- bot/exts/backend/branding/_cog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3