55 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 OP@ShompiFlen
okay so can you show me your package.json file
also share your index.js file so i can see the code in its entirety
hide any tokens
you are missing some dependencies
But my index consists of hundreds of lines
then share the section of your code where you start using voice related functions
also read this part https://discordjs.guide/voice/#barebones
there are some extra but optional dependencies that you should try installing, for example
@discordjs/opus
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
im guessing you installed ffmpeg and added it to the path too right?
yes
Uploading now
libsodium-wrappers is one that i would recommend installing too, although you may have issues installing that one, but give it a try
so at this point, what does the bot do and what what it doesn't?, does it connect to the voice channel?
I got an error downloading the sodium module and could not download it