Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upfix: ensure VIEW_CHANNEL permissions before trying to join #3046
+17
−4
Conversation
SpaceEEC
added
t: voice
type: bugfix
semver: minor
t: error handling
labels
Feb 2, 2019
SpaceEEC
added some commits
Feb 2, 2019
kyranet
approved these changes
Feb 9, 2019
amishshah
merged commit 7324a99
into
discordjs:master
Feb 10, 2019
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
SpaceEEC commentedFeb 2, 2019
Please describe the changes this PR makes and why it should be merged:
This PR adds
GuildChannel#viewable
and adds it as requirement toVoiceChannel#joinable
.Fixes #3005 as
VoiceChannel#join
will now early reject with a more appropriate error.Status
Semantic versioning classification: