Can someone help me with managing audioplayers (streaming different audio to each server same time)
I want to manage multiple audio players and handle events on them but so far unsure how I can actually handle the events per audioplayer. I have them stored in a Collection per server, mapped by the server ID. But absolutely unsure on how to track and manage events on every server audio player. Any help would be appreciated
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.Discord js v14.11
node v18.6
Does that mean I would build a loop and then watch for events in a constant loop? Or should I start watching for events wherever I declared the audio player?
For example: my audio player is declared in the join command, should I just start watching for events from there?