fix(bible): mark cog_unload
as async
This commit is contained in:
parent
f233a7dec5
commit
8511b7b964
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Bible(commands.Cog):
|
||||||
self.config.register_global(bible="de4e12af7f28f599-02")
|
self.config.register_global(bible="de4e12af7f28f599-02")
|
||||||
self.config.register_user(bible=None)
|
self.config.register_user(bible=None)
|
||||||
|
|
||||||
def cog_unload(self):
|
async def cog_unload(self):
|
||||||
create_task(self.session.close())
|
create_task(self.session.close())
|
||||||
|
|
||||||
def format_help_for_context(self, ctx: commands.Context) -> str:
|
def format_help_for_context(self, ctx: commands.Context) -> str:
|
||||||
|
|
Loading…
Add table
Reference in a new issue