Skip to content

on_ready start task already started #16

Description

@0x5c
Apr 02 22:38:37 h1 run.sh[4071]: Ignoring exception in on_ready
Apr 02 22:38:37 h1 run.sh[4071]: Traceback (most recent call last):
Apr 02 22:38:37 h1 run.sh[4071]:   File "/home/bots/minibot/botenv/lib/python3.7/site-packages/discord/client.py", line 270, in _run_event
Apr 02 22:38:37 h1 run.sh[4071]:     await coro(*args, **kwargs)
Apr 02 22:38:37 h1 run.sh[4071]:   File "main.py", line 96, in on_ready
Apr 02 22:38:37 h1 run.sh[4071]:     refresh_status.start()
Apr 02 22:38:37 h1 run.sh[4071]:   File "/home/bots/minibot/botenv/lib/python3.7/site-packages/discord/ext/tasks/__init__.py", line 128, in start
Apr 02 22:38:37 h1 run.sh[4071]:     raise RuntimeError('Task is already launched and is not completed.')
Apr 02 22:38:37 h1 run.sh[4071]: RuntimeError: Task is already launched and is not completed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions