We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CheckAnyFailure
1 parent ed1f73c commit 176ddb6Copy full SHA for 176ddb6
discord/ext/commands/errors.py
@@ -212,10 +212,10 @@ class CheckAnyFailure(CheckFailure):
212
"""
213
214
def __init__(
215
- self, checks: list[CheckFailure], errors: list[Callable[[Context], bool]]
+ self, checks: list[Callable[[Context], bool]], errors: list[CheckFailure]
216
) -> None:
217
- self.checks: list[CheckFailure] = checks
218
- self.errors: list[Callable[[Context], bool]] = errors
+ self.checks: list[Callable[[Context], bool]] = checks
+ self.errors: list[CheckFailure] = errors
219
super().__init__("You do not have permission to run this command.")
220
221
0 commit comments