Replies: 1 comment 11 replies
-
Hello, seeing that the line numbers from the code and your error do not match up your program has been modified since the screenshots have been taken, making it impossible to properly help you with your issue. Additionally if you'd like to make the work of helpers easier post your code and errors inside code blocks instead of screenshots or raw text. You can create code blocks on GitHub like this: ```python Which will turn into a more readable, and most importantly, easy to copy and test form: # Paste your code here |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! Sorry to disturb but I don't understand where the error comes from, if someone can help me?
i have this error :
C:\Users\nonod\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\discord\cog.py:786: RuntimeWarning: coroutine 'setup' was never awaited
setup(self)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Traceback (most recent call last):
File "c:\Users\nonod\OneDrive\Bureau\Dev\Bot\main.py", line 37, in
asyncio.run(main())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 647, in run_until_complete
return future.result()
File "c:\Users\nonod\OneDrive\Bureau\Dev\Bot\main.py", line 33, in main
await load()
File "c:\Users\nonod\OneDrive\Bureau\Dev\Bot\main.py", line 29, in load
await bot.load_extension(f'cogs.{filename[:-3]}')
TypeError: object list can't be used in 'await' expression
Beta Was this translation helpful? Give feedback.
All reactions