|
@ -269,8 +269,6 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): |
|
|
You must have the :attr:`~Permissions.manage_messages` permission to |
|
|
You must have the :attr:`~Permissions.manage_messages` permission to |
|
|
use this. |
|
|
use this. |
|
|
|
|
|
|
|
|
Usable only by bot accounts. |
|
|
|
|
|
|
|
|
|
|
|
Parameters |
|
|
Parameters |
|
|
----------- |
|
|
----------- |
|
|
messages: Iterable[:class:`abc.Snowflake`] |
|
|
messages: Iterable[:class:`abc.Snowflake`] |
|
@ -281,8 +279,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): |
|
|
ClientException |
|
|
ClientException |
|
|
The number of messages to delete was more than 100. |
|
|
The number of messages to delete was more than 100. |
|
|
Forbidden |
|
|
Forbidden |
|
|
You do not have proper permissions to delete the messages or |
|
|
You do not have proper permissions to delete the messages. |
|
|
you're not using a bot account. |
|
|
|
|
|
NotFound |
|
|
NotFound |
|
|
If single delete, then the message was already deleted. |
|
|
If single delete, then the message was already deleted. |
|
|
HTTPException |
|
|
HTTPException |
|
@ -313,8 +310,8 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): |
|
|
without discrimination. |
|
|
without discrimination. |
|
|
|
|
|
|
|
|
You must have the :attr:`~Permissions.manage_messages` permission to |
|
|
You must have the :attr:`~Permissions.manage_messages` permission to |
|
|
delete messages even if they are your own (unless you are a user |
|
|
delete messages even if they are your own. |
|
|
account). The :attr:`~Permissions.read_message_history` permission is |
|
|
The :attr:`~Permissions.read_message_history` permission is |
|
|
also needed to retrieve message history. |
|
|
also needed to retrieve message history. |
|
|
|
|
|
|
|
|
Examples |
|
|
Examples |
|
|