Skip to content

Commit

Permalink
fix: inverted type hints in CheckAnyFailure (#2502)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paillat-dev authored and Dorukyum committed Sep 15, 2024
1 parent ed1f73c commit 176ddb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions discord/ext/commands/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,10 @@ class CheckAnyFailure(CheckFailure):
"""

def __init__(
self, checks: list[CheckFailure], errors: list[Callable[[Context], bool]]
self, checks: list[Callable[[Context], bool]], errors: list[CheckFailure]
) -> None:
self.checks: list[CheckFailure] = checks
self.errors: list[Callable[[Context], bool]] = errors
self.checks: list[Callable[[Context], bool]] = checks
self.errors: list[CheckFailure] = errors
super().__init__("You do not have permission to run this command.")


Expand Down

0 comments on commit 176ddb6

Please sign in to comment.