Receiving and playing back voice

Hey Guys currently trying to have my bot join a voicechanne, start receiving audio and then playing that audio back. I feel like it's not staying subscribed...
7 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Joopst
Joopst2y ago
Joopst
Joopst2y ago
To add onto this. I just added await enterState(connection, VoiceConnectionStatus.Ready, 5_000); underneath the joinVoiceChannel and the program aborts. Looks like i found the problem however
Joopst
Joopst2y ago
Joopst
Joopst2y ago
with this code i get the following
Joopst
Joopst2y ago
Joopst
Joopst2y ago
So it registers me talking twice then crashes Looks like this happens after the silence So it's trying to remove the subscription but that don't work