Browse Source
At this moment, when a task seems to be first loaded, it immediately throws away the decorators you give it, and just generates a new instance of itself. In your cog's `__init__`, once you do `self.my_task.start()`, the Loop is remade when it gets to `self.my_task` before executing the `start` function. The original Loop that the cog starts with is where the decorated values are. This fixes that.pull/4076/head
committed by
Rapptz
1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue