Clarify on_raw_message_edit cached message nature

This commit is contained in:
ChristopherJHart authored and GitHub committed 2021-01-18 04:55:59 -05:00
1 parent d752916995
commit 050bf74f5d
2 files changed
+6 -2

No files matched your search

+2 -1
View File
@@ -97,7 +97,8 @@ class RawMessageUpdateEvent(_RawReprMixin):
data: :class:`dict`
The raw data given by the `gateway <https://discord.com/developers/docs/topics/gateway#message-update>`_
cached_message: Optional[:class:`Message`]
The cached message, if found in the internal message cache.
The cached message, if found in the internal message cache. Represents the message before
it is modified by the data in :attr:`RawMessageUpdateEvent.data`.
"""
__slots__ = ('message_id', 'channel_id', 'data', 'cached_message')