aboutsummaryrefslogtreecommitdiff
path: root/discord/abc.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/abc.py')
-rw-r--r--discord/abc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/discord/abc.py b/discord/abc.py
index 0398da6f..0b5d9729 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -748,8 +748,10 @@ class Messageable(metaclass=abc.ABCMeta):
Parameters
-----------
- limit: int
+ limit: Optional[int]
The number of messages to retrieve.
+ If ``None``, retrieves every message in the channel. Note, however,
+ that this would make it a slow operation.
before: :class:`Message` or `datetime`
Retrieve messages before this date or message.
If a date is provided it must be a timezone-naive datetime representing UTC time.