mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
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.
This commit is contained in:
parent
6782fdd34d
commit
2f562bd695
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user