Creating Discord Music Bot, run into one too many issues #121559
Replies: 1 comment 16 replies
-
Hi the error is that you don't load the cogs with await. I think you use discord.py? To fix this error, you add the await keyword, like this:
An additional possible error would be the bot via. start function to start. Use the run function. https://discordpy.readthedocs.io/en/stable/api.html?highlight=run#discord.Client.run Have a nice day! |
Beta Was this translation helpful? Give feedback.
-
Body
Hello,
I wanted to try and create my own Music Bot for my discord, so that it can play music from both youtube and spotify, but unfortunately I have run into few issues along the way.
You can see the code of the whole project here > https://github.com/free-test-zfpuhi-org/Testing-01/tree/main/music_bot_discord
And below you can see the issues when I try to simply run the bot using terminal.
I wanna say thank you to all the people that tried to assist me ahead of time.
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions