aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/ext/commands/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index 8bc72e27..4e5721a2 100644
--- a/discord/ext/commands/core.py
+++ b/discord/ext/commands/core.py
@@ -148,6 +148,8 @@ class Command(_BaseCommand):
parent: Optional[:class:`Command`]
The parent command that this command belongs to. ``None`` if there
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`]]
A list of predicates that verifies if the command could be executed
with the given :class:`.Context` as the sole parameter. If an exception