qeled / discordie

Predictable JavaScript abstractions for Discord API.
https://qeled.github.io/discordie/
BSD 2-Clause "Simplified" License
190 stars 45 forks source link

voiceConnection.disconnect() "stops" playback on other guilds #53

Closed TheBITLINK closed 8 years ago

TheBITLINK commented 8 years ago

If a bot is playing music on multiple guilds, and i do voiceConnection.disconnect() in one of these, the audio stops on the other guilds.

However, if users re-join the voice channels in the other guilds, they are able to hear the bot again.

I'm on the dev branch, i tested with my own bot and also the ffmpegEncoder example present on the repo, just to make sure.

qeled commented 8 years ago

I can only reproduce this if the listening client is a member of both guilds, and since Wireshark still shows audio packets going both ways - seems like an issue with the Discord client, not the library. Being able to reconnect as a client and hear it again only confirms it.