aboutsummaryrefslogtreecommitdiff
path: root/discord/raw_models.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/raw_models.py')
-rw-r--r--discord/raw_models.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/discord/raw_models.py b/discord/raw_models.py
index c7349f6b..d9ce84cd 100644
--- a/discord/raw_models.py
+++ b/discord/raw_models.py
@@ -85,15 +85,15 @@ class RawBulkMessageDeleteEvent(_RawReprMixin):
class RawMessageUpdateEvent(_RawReprMixin):
"""Represents the payload for a :func:`on_raw_message_edit` event.
- .. versionchanged:: 1.3
- The ``channel_id`` attribute was added.
-
Attributes
-----------
message_id: :class:`int`
The message ID that got updated.
channel_id: :class:`int`
The channel ID where the update took place.
+
+ .. versionadded:: 1.3
+
data: :class:`dict`
The raw data given by the `gateway <https://discordapp.com/developers/docs/topics/gateway#message-update>`_
cached_message: Optional[:class:`Message`]
@@ -112,9 +112,6 @@ class RawReactionActionEvent(_RawReprMixin):
"""Represents the payload for a :func:`on_raw_reaction_add` or
:func:`on_raw_reaction_remove` event.
- .. versionchanged:: 1.3
- The ``event_type`` attribute was added.
-
Attributes
-----------
message_id: :class:`int`
@@ -136,6 +133,8 @@ class RawReactionActionEvent(_RawReprMixin):
The event type that triggered this action. Can be
``REACTION_ADD`` for reaction addition or
``REACTION_REMOVE`` for reaction removal.
+
+ .. versionadded:: 1.3
"""
__slots__ = ('message_id', 'user_id', 'channel_id', 'guild_id', 'emoji',