Skip to content

Commit

Permalink
Fix user/user_id documentation for reaction remove events
Browse files Browse the repository at this point in the history
  • Loading branch information
MusicOnline authored and Rapptz committed Jan 29, 2019
1 parent e1c94a3 commit 85b5286
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion discord/raw_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`]
Expand Down
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 85b5286

Please sign in to comment.