From a131e11c5e15b4720deff025464e20d5d21a4b83 Mon Sep 17 00:00:00 2001 From: Sebastian Law <44045823+SebbyLaw@users.noreply.github.com> Date: Wed, 24 Mar 2021 05:24:14 -0700 Subject: [PATCH] [commands] fix documented type for Command.checks --- discord/ext/commands/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index 16c1276c8..40c7eaf82 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