Bot cannot play music
I recently started a bot that play music, everything works just fine, no error, the bot is able to find the song and join the voice channel but no music is played.
The version i'm using is 14.12.1.
Here is my play.js:
11 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!here is the output in discord server when i tried /play command
list discord.js below and the node version i'm using is 20.12.2
do you mind telling what TOS am I violating? it's my first time writing a bot, I really do not know
and how do I avoid violating this term?
I believe this is something with youtube?
Playing music from YouTube is not allowed as per YouTube's terms.
I see, so that is the reason why the bot cannot play music at all
No, most likely not, but I can't help you in this server in because of the rules.
what do you mean you can't help me in this server?
As Qjuh said, there won't be any support for ToS violations even though it might be possible.
I did not intend to violate ToS
if you know how to deal with this ToS violations, I will be very appreciate
most of the doc I saw online instructed me to write it like that and I didnt intend to violate any ToS
You don't try to use YouTube or its API to play music. You use music sources that have support and allow streaming of its music via another program