Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check mute/deafen permissions using the channel #2781

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

freya022
Copy link
Contributor

Pull Request Etiquette

Changes

  • Internal code
  • Library interface (affecting end-user code)
  • Documentation
  • Other: _____

Closes Issue: NaN

Description

Moved the permission check to where an AudioChannel is present as to prevent false exceptions.

Prevents false missing permission exceptions
at the cost of missing exceptions
if the member or the voice state is absent
@MinnDevelopment MinnDevelopment merged commit 5141a94 into discord-jda:master Dec 27, 2024
1 check passed
@freya022 freya022 deleted the fix/voice-checks branch December 27, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants