Skip to content

Commit

Permalink
More moveset displays, fix multiple raidhours
Browse files Browse the repository at this point in the history
  • Loading branch information
doonce committed Jan 9, 2020
1 parent 91da4a0 commit cc563e5
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 25 deletions.
3 changes: 3 additions & 0 deletions meowth/exts/huntr.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ def __init__(self, bot):
def cog_unload(self):
self.huntr_cleanup.cancel()
self.raidhour_check.cancel()
for task in asyncio.Task.all_tasks():
if "raidhour_manager" in str(task) and "huntr" in str(task):
task.cancel()

@tasks.loop(seconds=600)
async def huntr_cleanup(self, loop=True):
Expand Down
Loading

0 comments on commit cc563e5

Please sign in to comment.