diff options
| author | ChristopherJHart <[email protected]> | 2021-01-18 04:55:59 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-18 04:55:59 -0500 |
| commit | 050bf74f5db0046c0010c2b7c3ac0c5fd0a500f9 (patch) | |
| tree | c6c4cc13c3cccb2f8ee24c3fd05d192d617cf27f /discord/raw_models.py | |
| parent | Add MessageReference.jump_url (diff) | |
| download | discord.py-050bf74f5db0046c0010c2b7c3ac0c5fd0a500f9.tar.xz discord.py-050bf74f5db0046c0010c2b7c3ac0c5fd0a500f9.zip | |
Clarify on_raw_message_edit cached message nature
Diffstat (limited to 'discord/raw_models.py')
| -rw-r--r-- | discord/raw_models.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 <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') |