mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
correctly unload star_check
This commit is contained in:
1 parent
37093a91b4
commit
5214d8ce31
1 file changed
+1
-1
@@ -199,7 +199,7 @@ class StarboardScraper(commands.Cog):
|
||||
|
||||
async def cog_unload(self):
|
||||
self.bot.logger.info("Unloading cog")
|
||||
self.star_check().cancel()
|
||||
self.star_check.cancel()
|
||||
self.cursor.close()
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user