From 8511b7b964bc0f37197044091583a5655b6a4cde Mon Sep 17 00:00:00 2001 From: cswimr Date: Sun, 26 Jan 2025 00:46:21 +0000 Subject: [PATCH] fix(bible): mark `cog_unload` as async --- bible/bible.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bible/bible.py b/bible/bible.py index 1b44169..9cf520b 100644 --- a/bible/bible.py +++ b/bible/bible.py @@ -39,7 +39,7 @@ class Bible(commands.Cog): self.config.register_global(bible="de4e12af7f28f599-02") self.config.register_user(bible=None) - def cog_unload(self): + async def cog_unload(self): create_task(self.session.close()) def format_help_for_context(self, ctx: commands.Context) -> str: