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:
No description
11 Replies
d.js toolkit
d.js toolkit7mo ago
- 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!
68
68OP7mo ago
here is the output in discord server when i tried /play command
No description
68
68OP7mo ago
list discord.js below and the node version i'm using is 20.12.2
No description
68
68OP7mo ago
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?
lupus
lupus7mo ago
Playing music from YouTube is not allowed as per YouTube's terms.
68
68OP7mo ago
I see, so that is the reason why the bot cannot play music at all
lupus
lupus7mo ago
No, most likely not, but I can't help you in this server in because of the rules.
68
68OP7mo ago
what do you mean you can't help me in this server?
lupus
lupus7mo ago
As Qjuh said, there won't be any support for ToS violations even though it might be possible.
68
68OP7mo ago
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
Mark
Mark7mo ago
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
Want results from more Discord servers?
Add your server