fix(bot): 🐛 Utility cog's cog_unload made sync.
This commit is contained in:
@@ -14,7 +14,7 @@ class Utility(base.Cog):
|
|||||||
|
|
||||||
self.update_heartbeat.start()
|
self.update_heartbeat.start()
|
||||||
|
|
||||||
async def cog_unload(self) -> None:
|
def cog_unload(self) -> None:
|
||||||
self.update_heartbeat.cancel()
|
self.update_heartbeat.cancel()
|
||||||
|
|
||||||
@tasks.loop(seconds=5)
|
@tasks.loop(seconds=5)
|
||||||
|
|||||||
Reference in New Issue
Block a user