aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Law <[email protected]>2021-03-24 05:24:14 -0700
committerGitHub <[email protected]>2021-03-24 08:24:14 -0400
commita131e11c5e15b4720deff025464e20d5d21a4b83 (patch)
treead019c7df72f8a022cf7cc2c087fd4143c620bb0
parentMake `await` text appear in async Member method docs (diff)
downloaddiscord.py-a131e11c5e15b4720deff025464e20d5d21a4b83.tar.xz
discord.py-a131e11c5e15b4720deff025464e20d5d21a4b83.zip
[commands] fix documented type for Command.checks
-rw-r--r--discord/ext/commands/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index 16c1276c..40c7eaf8 100644
--- a/discord/ext/commands/core.py
+++ b/discord/ext/commands/core.py
@@ -158,7 +158,7 @@ class Command(_BaseCommand):
isn't one.
cog: Optional[:class:`Cog`]
The cog that this command belongs to. ``None`` if there isn't one.
- checks: List[Callable[..., :class:`bool`]]
+ checks: List[Callable[[:class:`.Context`], :class:`bool`]]
A list of predicates that verifies if the command could be executed
with the given :class:`.Context` as the sole parameter. If an exception
is necessary to be thrown to signal failure, then one inherited from