From 049df7c586ecc73b0e0cc0df1bb7409b4dde2fbb Mon Sep 17 00:00:00 2001 From: Vish M <62267480+justanotherbyte@users.noreply.github.com> Date: Sun, 13 Mar 2022 11:48:41 +0000 Subject: [PATCH] Add a note to users that they must have the message content intent Co-authored-by: Danny --- docs/ext/commands/commands.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/ext/commands/commands.rst b/docs/ext/commands/commands.rst index 77f11cd29..9493f1eeb 100644 --- a/docs/ext/commands/commands.rst +++ b/docs/ext/commands/commands.rst @@ -11,6 +11,13 @@ how you can arbitrarily nest groups and commands to have a rich sub-command syst Commands are defined by attaching it to a regular Python function. The command is then invoked by the user using a similar signature to the Python function. +.. warning:: + + You must have access to the :attr:`~discord.Intents.message_content` intent for the commands extension + to function. This must be set both in the developer portal and within your code. + + Failure to do this will result in your bot not responding to any of your commands. + For example, in the given command definition: .. code-block:: python3