aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/ext/commands/bot.py')
-rw-r--r--discord/ext/commands/bot.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py
index 724ab7cb..c858ab6a 100644
--- a/discord/ext/commands/bot.py
+++ b/discord/ext/commands/bot.py
@@ -257,6 +257,12 @@ class BotBase(GroupMixin):
.. note::
+ When using this function the :class:`.Context` sent to a group subcommand
+ may only parse the parent command and not the subcommands due to it
+ being invoked once per :meth:`.Bot.invoke` call.
+
+ .. note::
+
This function can either be a regular function or a coroutine.
Similar to a command :func:`.check`\, this takes a single parameter