aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPC <[email protected]>2016-06-28 18:23:25 +0200
committerGitHub <[email protected]>2016-06-28 18:23:25 +0200
commit1aceb4ee8db99376cc3ff1b0f60430bb67c3d166 (patch)
tree86dfd7919608addb98e4a079ac74086843a8841c /docs
parentVersion bump to v0.10.0 (diff)
downloaddiscord.py-1aceb4ee8db99376cc3ff1b0f60430bb67c3d166.tar.xz
discord.py-1aceb4ee8db99376cc3ff1b0f60430bb67c3d166.zip
Change max_length to max_messages
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst
index f08b1d52..7d015b63 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -185,7 +185,7 @@ to handle it, which defaults to print a traceback and ignore the exception.
Called when a message is deleted or edited from any given server. If the message is not found in the
:attr:`Client.messages` cache, then these events will not be called. This happens if the message
is too old or the client is participating in high traffic servers. To fix this, increase
- the ``max_length`` option of :class:`Client`.
+ the ``max_messages`` option of :class:`Client`.
:param message: A :class:`Message` of the deleted message.
:param before: A :class:`Message` of the previous version of the message.