【发布时间】:2021-09-08 10:56:33
【问题描述】:
Traceback (most recent call last):
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "main.py", line 94, in on_ready
update_fetch.start()
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/ext/tasks/__init__.py", line 205, in start
raise RuntimeError('Task is already launched and is not completed.')
RuntimeError: Task is already launched and is not completed.
有人知道为什么会这样吗?我的bot已经运行了1个月,然后突然每隔一段时间就会出现这种情况,虽然它只影响bot的状态,但所有的bot功能都很好
【问题讨论】:
标签: python discord discord.py bots