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

Add PrivilegeConfig#canMemberRun #2774

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

freya022
Copy link
Contributor

@freya022 freya022 commented Nov 14, 2024

Pull Request Etiquette

Changes

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

Closes Issue: NaN

Description

Adds a method determining if a command can be used by a combination of member and channel

Based on Discord's flow chart for command permission checks.

@freya022 freya022 force-pushed the feature/command-privilege-probe branch from 8589625 to c7abad1 Compare November 15, 2024 18:36
@freya022 freya022 force-pushed the feature/command-privilege-probe branch from c7abad1 to b3a1b36 Compare November 15, 2024 22:02
@freya022 freya022 marked this pull request as ready for review November 15, 2024 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant