diff options
| author | Jared Shields <[email protected]> | 2018-02-26 22:04:49 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-02-26 22:04:49 -0800 |
| commit | 2f562bd695367aff549676850f84460a2ba0aea2 (patch) | |
| tree | b26ebd2e844c3b7b917abf4368aa99ad575c2587 | |
| parent | Add missing coroutine decorator to HTTPClient.get_attachment (diff) | |
| download | discord.py-2f562bd695367aff549676850f84460a2ba0aea2.tar.xz discord.py-2f562bd695367aff549676850f84460a2ba0aea2.zip | |
Update docstrings for channel.py
`delete_messages` requires `manage_messages`; the docs in here, nor on RTD reflect this.
Small amendment at line 180, adding three additional.
| -rw-r--r-- | discord/channel.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/discord/channel.py b/discord/channel.py index 93358e14..eb4de43a 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -176,7 +176,10 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): You cannot bulk delete more than 100 messages or messages that are older than 14 days old. - + + You must have :attr:`Permissions.manage_messages` permission use + this. + Usable only by bot accounts. Parameters |