Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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