diff options
| author | Michael H <[email protected]> | 2021-02-17 07:33:17 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-17 07:33:17 -0500 |
| commit | 08d45cc2abba781245e3f5a2c356048e343f2335 (patch) | |
| tree | 5001e9f2d3cb7d25feab8c65bd108fb9222ec895 /docs/api.rst | |
| parent | Fix documentation with reference in GroupChannel.permissions_for (diff) | |
| download | discord.py-08d45cc2abba781245e3f5a2c356048e343f2335.tar.xz discord.py-08d45cc2abba781245e3f5a2c356048e343f2335.zip | |
Update docs to be clearer about discord limitations
Diffstat (limited to 'docs/api.rst')
| -rw-r--r-- | docs/api.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst index 9990d036..0421d5a9 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -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. |