Browse Source

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.
pull/1105/head
Jared Shields 7 years ago
committed by GitHub
parent
commit
2f562bd695
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      discord/channel.py

5
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

Loading…
Cancel
Save