Как решить ошибку AttributeError: 'Command' object has no attribute 'sleep'?
Ignoring exception in on_ready
Traceback (most recent call last):
File "/home/runner/lol-1/venv/lib/python3.8/site-packages/discord/client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "main.py", line 93, in on_ready
time.sleep(0.1)
AttributeError: 'Command' object has no attribute 'sleep'
Shandy,
main.py:93: RuntimeWarning: coroutine 'sleep' was never awaited
asyncio.sleep(0.1)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback