Discord JS music playback via ffmpeg on stage
I understand that in ffmpeg I pass the path to the file and how do I redirect the music playback stream to the voice of the bot that is on stage?
3 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!and is it possible to specify the path to ffmpeg in the create Audio Resource, which is located in the ffmpeg Exe variable so that there is no this error?
- npm:
npm install ffmpeg-static
- Install: Download | chocolatey | homebrew | your distributions package manager
- Tutorial: YouTube
- ffmpeg-binaries is deprecated, uninstall it with npm rm ffmpeg-binaries