My music bot is broken
I'm developing a music bot with discord-player package and while music is playing I'm getting "read ECONNRESET" error and the bot starts the music from the beginning I googled it and since 2018 (version 11.x) d.js users getting the same error but I couldn't find any solution for this error
15 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!
- ✅
Marked as resolved by staffSeems like a network issue
I am not at home right now, can I run it in my virtual machine in a few hours and send you the result?
well, the error indicates a network issue, so nothing djs can do about
I also hope your music source is tos compliant
I think so
Is Spotify tos compliant?
spotify's doesnt allow playback
So your bot is probably using youtube internally
Which is agains tos
when I check the source of the music it says the music playing from Spotify
spotify's api does not allow playback
and it give me a Spotify link for source
So that's impossible
It offers info about a track
Which is then probably put into youtube
oh get it
regardless, check if you actually have a tos compliant bot first, and then get a better network
is Apple Music aginst tos?
read their tos
okay
thanks for help and your time
have a good day