Clarify docs to state that on_reaction_remove requires Intents.members
This commit is contained in:
parent
a131e11c5e
commit
a6c5b04142
@ -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`.
|
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.
|
:param reaction: The current state of the reaction.
|
||||||
:type reaction: :class:`Reaction`
|
:type reaction: :class:`Reaction`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user