From 51546dbdb6309bd69809444519ce32057f47dfce Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 6 Jan 2020 04:02:56 -0500 Subject: [PATCH] [commands] Document the changed Command.can_run behaviour --- discord/ext/commands/core.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index 20930408b..f29ada945 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -926,7 +926,11 @@ class Command(_BaseCommand): """|coro| Checks if the command can be executed by checking all the predicates - inside the :attr:`.checks` attribute. + inside the :attr:`.checks` attribute. This also checks whether the + command is disabled. + + .. versionchanged:: 1.3 + Checks whether the command is disabled or not Parameters -----------