Cannot join voice channel correctly #1338
Unanswered
ryanbester
asked this question in
Q&A
Replies: 2 comments 1 reply
-
This seems to be a known issue, and is a breaking change introduced by Discord. See discord-jda/JDA@4bb15ef for a potential solution ? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I had the same problem, but after searching a very long time, I have found out that, when i was using It was Avast, who blocked the connection. For me turning it off and using go build helped. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to connect to a voice channel using
ChannelVoiceJoin
. This has been working correctly but when I executed the command for the bot to join the voice channel the bot hangs. I had a look and theChannelVoiceJoin
doesn't appear to ever return.I increased the
LogLevel
to Debug and observed that there was no opcode 4 (Session Description) being received fromonEvent
in voice.go. Oddly, when I changed the voice region, to somewhere such as Brazil, opcode 4 was correctly being received and theChannelVoiceJoin
returned correctly.I'm not sure if this is a problem with the library or just my internet connection. I don't have another internet connection to test, but it's strange how certain voice regions work correctly.
This is my code:
Go: 1.18.6, discordgo: 0.27.0
I have tried on Windows and Linux and experience the same behaviour.
Please could anyone advise me as to why this may be the case? And if it is maybe just my internet connection.
Beta Was this translation helpful? Give feedback.
All reactions