cog_unload, not __unload, whoops.
This commit is contained in:
parent
70f4b0b716
commit
393d7cb350
@ -46,7 +46,7 @@ class AnnounceDaily(Cog):
|
|||||||
"""Nothing to delete"""
|
"""Nothing to delete"""
|
||||||
return
|
return
|
||||||
|
|
||||||
def __unload(self):
|
def cog_unload(self):
|
||||||
if self.announce_task is not None:
|
if self.announce_task is not None:
|
||||||
self.announce_task.cancel()
|
self.announce_task.cancel()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user