Update docs to be clearer about discord limitations

This commit is contained in:
Michael H
2021-02-17 07:33:17 -05:00
committed by GitHub
parent 491b426205
commit 08d45cc2ab
2 changed files with 11 additions and 2 deletions

View File

@ -478,6 +478,14 @@ to handle it, which defaults to print a traceback and ignoring the exception.
This requires :attr:`Intents.reactions` to be enabled.
.. note::
This doesn't require :attr:`Intents.members` within a guild context,
but due to Discord not providing updated user information in a direct message
it's required for direct messages to receive this event.
Consider using :func:`on_raw_reaction_add` if you need this and do not otherwise want
to enable the members intent.
:param reaction: The current state of the reaction.
:type reaction: :class:`Reaction`
:param user: The user who added the reaction.