discord-audio-pipe
discord-audio-pipe copied to clipboard
New User Listeners issue.
Describe the bug
-
When the bot joins the VC to play audio, it will play for all the people that's currently in the VC before the bot had joined. If you leave the VC or join after the bot, the audio seems to not play for new listeners. Workaround: Have the bot disconnect or move to another VC then make it come back. (From the panel, not by moving the bot user.
-
Moving/disconnecting makes the bot confused and does not play audio in the VC it was moved into. (Making new channels doesn't refresh the channel list as well.)
To Reproduce Bug # 1 -
- Have audio streamed and have the bot join via the panel.
- Leave and join the same voice channel only to notice it stopped playing audio.
- Fix: Have the bot leave and join the voice channel again to hear it play audio again.
Bug # 2 - (Self Explanatory)
- Moving it via Discord UI will cause the bot to stop casting audio.
- Fix: Change voice channels in DAP twice for it to work again.
Expected behavior Bug # 1: All users should be able to listen to the bot regardless when joining after the bot is in the voice channel. Bug # 2: Audio should be playing in the voice channel it was moved to. If disconnected, it should clear the selection from in the DAP ui.
Error log https://pastebin.com/raw/GStV9Dr1
System Info
- Windows 10 (V: 2004 on insider build 21301.1010)
- Executable
- DAP v2.2
Additional context N/A
I have noticed bug 1, its puzzling because it doesn't happen all the time for me so i'll have to investigate that. Bug number 2 makes sense because the UI currently does not have the ability to respond to changes on Discord, but that'll be added as part of adding Discord commands.