Browse Source

Clarify docs to state that on_reaction_remove requires Intents.members

pull/6575/head
Colin R 4 years ago
committed by GitHub
parent
commit
a6c5b04142
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      docs/api.rst

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

Loading…
Cancel
Save