From 050bf74f5db0046c0010c2b7c3ac0c5fd0a500f9 Mon Sep 17 00:00:00 2001 From: ChristopherJHart Date: Mon, 18 Jan 2021 04:55:59 -0500 Subject: Clarify on_raw_message_edit cached message nature --- discord/raw_models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'discord') diff --git a/discord/raw_models.py b/discord/raw_models.py index dd8ce9e3..bc19aad5 100644 --- a/discord/raw_models.py +++ b/discord/raw_models.py @@ -97,7 +97,8 @@ class RawMessageUpdateEvent(_RawReprMixin): data: :class:`dict` The raw data given by the `gateway `_ 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') -- cgit v1.2.3