aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 09d4d0c6..78a96f45 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -296,6 +296,9 @@ to handle it, which defaults to print a traceback and ignoring the exception.
Called when a message is edited. Unlike :func:`on_message_edit`, this is called
regardless of the state of the internal message cache.
+ If the message is found in the message cache,
+ it can be accessed via :attr:`RawMessageUpdateEvent.cached_message`
+
Due to the inherently raw nature of this event, the data parameter coincides with
the raw data given by the `gateway <https://discordapp.com/developers/docs/topics/gateway#message-update>`_