From 85b5286056422da3f5658c5ade6971aa208cbc1e Mon Sep 17 00:00:00 2001 From: MusicOnline <39178127+MusicOnline@users.noreply.github.com> Date: Fri, 28 Dec 2018 14:00:18 +0800 Subject: [PATCH] Fix user/user_id documentation for reaction remove events --- discord/raw_models.py | 2 +- docs/api.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/raw_models.py b/discord/raw_models.py index 22aad5ce6..47bfbbd55 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 faa795585..43f79a83a 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)