2 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.this was recently covered in the post right before yours #How to record my voice
but I'll also link relevant docs here
speaking events: https://discord.js.org/docs/packages/voice/main/SpeakingMap:Class#on
receive audio: https://discord.js.org/docs/packages/voice/main/VoiceReceiver:Class#subscribe
opus packet stream decoder: https://amishshah.github.io/prism-media/opus.Decoder.html