diff options
| author | Rapptz <[email protected]> | 2017-02-11 23:34:19 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-02-11 23:34:19 -0500 |
| commit | 2abdbc70c2637da33f35af69abc8cd559c0b05f7 (patch) | |
| tree | 19df7f0093a9c086a5b892c9470b11210267cb87 /discord/abc.py | |
| parent | Add Client.get_user_profile to get an arbitrary user's profile. (diff) | |
| download | discord.py-2abdbc70c2637da33f35af69abc8cd559c0b05f7.tar.xz discord.py-2abdbc70c2637da33f35af69abc8cd559c0b05f7.zip | |
Implement utilities for AsyncIterator.
Closes #473.
Diffstat (limited to 'discord/abc.py')
| -rw-r--r-- | discord/abc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/abc.py b/discord/abc.py index 160cbb4b..0398da6f 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -740,7 +740,7 @@ class Messageable(metaclass=abc.ABCMeta): return [state.create_message(channel=channel, data=m) for m in data] def history(self, *, limit=100, before=None, after=None, around=None, reverse=None): - """Return an async iterator that enables receiving the destination's message history. + """Return an :class:`AsyncIterator` that enables receiving the destination's message history. You must have Read Message History permissions to use this. |