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•2y ago
Message Not Public
Sign In & Join Server To View
![](https://utfs.io/f/9f57c68a-1985-4c2f-be4f-1f532ecb8942-4pl4mu.png)
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
![](https://utfs.io/f/7ed5f934-ef4c-4751-a7bd-a2cd66a25f60-1nq2cb.png)
with this code i get the following
![](https://utfs.io/f/a931a9f8-35f5-482d-a99a-98a9f209266d-1nq2cb.png)
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