Help with !play song command.
I am a begginer at bot development and I want my bot to play song in the voice channel I am rn without using ytdl-core. How can I do this? I read all the voice pages on the Discord.js guide but still have no idea of how I am going to do this.
Discord.js version: 14.14.1
Node version: 21.6.1
@discord/voice version: 0.16.1
@discord/opus version: 0.9.0
2 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 my code: