aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMusicOnline <[email protected]>2018-12-28 14:00:18 +0800
committerRapptz <[email protected]>2019-01-28 22:22:44 -0500
commit85b5286056422da3f5658c5ade6971aa208cbc1e (patch)
tree265d82e39d2a54ed7c486368ede9e8e54f03aa8d
parentDo None instead of falsy checks on Command attributes (diff)
downloaddiscord.py-85b5286056422da3f5658c5ade6971aa208cbc1e.tar.xz
discord.py-85b5286056422da3f5658c5ade6971aa208cbc1e.zip
Fix user/user_id documentation for reaction remove events
-rw-r--r--discord/raw_models.py2
-rw-r--r--docs/api.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/discord/raw_models.py b/discord/raw_models.py
index 22aad5ce..47bfbbd5 100644
--- a/discord/raw_models.py
+++ b/discord/raw_models.py
@@ -99,7 +99,7 @@ class RawReactionActionEvent:
message_id: :class:`int`
The message ID that got or lost a reaction.
user_id: :class:`int`
- The user ID who added or removed the reaction.
+ The user ID who added the reaction or whose reaction was removed.
channel_id: :class:`int`
The channel ID where the reaction got added or removed.
guild_id: Optional[:class:`int`]
diff --git a/docs/api.rst b/docs/api.rst
index faa79558..43f79a83 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -307,7 +307,7 @@ 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`.
:param reaction: A :class:`Reaction` showing the current state of the reaction.
- :param user: A :class:`User` or :class:`Member` of the user who removed the reaction.
+ :param user: A :class:`User` or :class:`Member` of the user whose reaction was removed.
.. function:: on_raw_reaction_remove(payload)