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

Added ignoreDisable() and respectDisable() instance methods #7300

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Daniel1464
Copy link

Added the ignoreDisable() and respectDisable() instance methods to the Command class.

These methods simply serve as syntactic sugar to ignoringDisable(true) and ignoringDisable(false).

@Daniel1464 Daniel1464 requested a review from a team as a code owner October 27, 2024 20:59
Copy link
Contributor

This PR modifies commands. Please open a corresponding PR in Python Commands and include a link to this PR.

@rzblue
Copy link
Member

rzblue commented Oct 27, 2024

I don't think this level of syntactic sugar is necessary

@Daniel1464
Copy link
Author

Daniel1464 commented Oct 27, 2024

I don't think this level of syntactic sugar is necessary

A no-args ignoringDisable() overload could also be considered instead of the existing methods.

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.

2 participants