aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorXua <[email protected]>2019-02-03 20:15:14 +1300
committerRapptz <[email protected]>2019-02-06 01:52:13 -0500
commita9860bd15658dc88d98a7873ffcc5833c06d62fa (patch)
tree8a053ad0081c95d7132e9f907c040bf8c946edee /docs
parentcommands.clean_content: escape || spoilers || (diff)
downloaddiscord.py-a9860bd15658dc88d98a7873ffcc5833c06d62fa.tar.xz
discord.py-a9860bd15658dc88d98a7873ffcc5833c06d62fa.zip
Remove notes about Client.messages
Since `Client.messages` no longer exists, I think we should remove the note about the cache being named that.
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 43f79a83..c8814b1a 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -216,7 +216,7 @@ to handle it, which defaults to print a traceback and ignoring the exception.
.. function:: on_message_delete(message)
Called when a message is deleted. If the message is not found in the
- :attr:`Client.messages` cache, then these events will not be called. This
+ internal message cache, then these events will not be called. This
happens if the message is too old or the client is participating in high
traffic guilds. To fix this, increase the ``max_messages`` option of
:class:`Client`.
@@ -242,7 +242,7 @@ to handle it, which defaults to print a traceback and ignoring the exception.
.. function:: on_message_edit(before, after)
Called when a :class:`Message` receives an update event. If the message is not found
- in the :attr:`Client.messages` cache, then these events will not be called.
+ in the internal message cache, then these events will not be called.
This happens if the message is too old or the client is participating in high
traffic guilds. To fix this, increase the ``max_messages`` option of :class:`Client`.
@@ -278,7 +278,7 @@ to handle it, which defaults to print a traceback and ignoring the exception.
.. function:: on_reaction_add(reaction, user)
Called when a message has a reaction added to it. Similar to on_message_edit,
- if the message is not found in the :attr:`Client.messages` cache, then this
+ if the message is not found in the internal message cache, then this
event will not be called.
.. note::
@@ -299,7 +299,7 @@ to handle it, which defaults to print a traceback and ignoring the exception.
.. function:: on_reaction_remove(reaction, user)
Called when a message has a reaction removed from it. Similar to on_message_edit,
- if the message is not found in the :attr:`Client.messages` cache, then this event
+ if the message is not found in the internal message cache, then this event
will not be called.
.. note::
@@ -320,7 +320,7 @@ to handle it, which defaults to print a traceback and ignoring the exception.
.. function:: on_reaction_clear(message, reactions)
Called when a message has all its reactions removed from it. Similar to :func:`on_message_edit`,
- if the message is not found in the :attr:`Client.messages` cache, then this event
+ if the message is not found in the internal message cache, then this event
will not be called.
:param message: The :class:`Message` that had its reactions cleared.