Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[V3 Audio] If bot has move members perm, it can join to user-limited channels #2525
Description of the changes
Before this, when you wanted to play some music on full voice channel and bot had permission to move members (which allows you to join the user-limited channel) it wouldn't join and reply with "I don't have permission to connect to your channel." even though it could. This PR fixes this behavior.
I'm not sure if it was a right choice to not put this check in
Looks good and works as expected. For people reading this in the future if they are having problems making it work: make sure your bot has Read Text Channels & See Voice Channels checked, or if assigning the perm on the channel itself, View Channel, besides just the Move Members perm.