Bot spams a response that should only be send once and wont play the music it should.
This is the error code. The entire bot code is too long it got moves into that file. Idk how to change that. I have been trying to get music playback to work for a few hours now. I tried play-dl ytdl and now discord-ytdl. The bot doesnt seem to playback the music and just spams the song selection 4 times. I am using nodejs 18.8.0.
7 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 OPCould be that you have the same bot process running more than once, so each process gives out a response?
I usually terminate the processes but ill just try restarting vsc and trying it again
Nontheless the bot wont play music
I got it working on ytdl but it randomly terminated around halfway through the song
MessageButton is v13 & we do not support tos violations
Its just a private project which is not going to play on any server. Its only playing for test purposes to the people that develop it and will be shutdown once finished.
Its still agains tos
Good to know. Thanks for telling me. I'll get another project to continue learning then. Thanks for the help.