aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorColin R <[email protected]>2021-03-24 05:25:12 -0700
committerGitHub <[email protected]>2021-03-24 08:25:12 -0400
commita6c5b041421058558de720dca28916673703d172 (patch)
tree929ea39dc36164f763287d76c6bfe0be0fd4a89f /docs
parent[commands] fix documented type for Command.checks (diff)
downloaddiscord.py-a6c5b041421058558de720dca28916673703d172.tar.xz
discord.py-a6c5b041421058558de720dca28916673703d172.zip
Clarify docs to state that on_reaction_remove requires Intents.members
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 7c1c5f3c..d0c9a40b 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -511,7 +511,12 @@ to handle it, which defaults to print a traceback and ignoring the exception.
To get the message being reacted, access it via :attr:`Reaction.message`.
- This requires :attr:`Intents.reactions` to be enabled.
+ This requires both :attr:`Intents.reactions` and :attr:`Intents.members` to be enabled.
+
+ .. note::
+
+ Consider using :func:`on_raw_reaction_remove` if you need this and do not want
+ to enable the members intent.
:param reaction: The current state of the reaction.
:type reaction: :class:`Reaction`