Add a note to users that they must have the message content intent

Co-authored-by: Danny <Rapptz@users.noreply.github.com>
This commit is contained in:
Vish M 2022-03-13 11:48:41 +00:00 committed by GitHub
parent 6a43d60acf
commit 049df7c586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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