Voice receiver doesn't pick up soundboard sounds
I have a pretty fancy discord bot that uses a voice receiver to pick up audio from users.
const audioStream = getVoiceConnection(guildId).receiver.subscribe(userId, { end: { behavior: EndBehaviorType.AfterInactivity, duration: 100 } });
Is the very very very simplified version of it I suppose.
That audioStream is then replayed into voice channel so it echoes the user by it's Id.
Something like:
Might explain what I'm going for
It works perfectly fine but what I noticed is that it does NOT pick up audio from soundboards.
Is there maybe a chance that soundboards are handled differently from spoken audio? Is this something that has to be implemented or was it already implemented and I was just too stupid to understand the docs?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!
- ✅
Marked as resolved by OPnode v20
discord.js 14.14.1
discordjs/voice 0.16.0
discordjs/opus 0.9.0
I see, is that going to be added in the future then though probably?
Oh I see, thank you!