diff options
| author | Sebastian Law <[email protected]> | 2021-05-04 04:21:59 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-04 07:21:59 -0400 |
| commit | b82a0dc6fd82df1dc01060ae64ee3b2f6512f288 (patch) | |
| tree | 6cb8ec10960fec615fddaaccfedb5876d72ec9ea /discord/channel.py | |
| parent | Add get_user to the things intents.members affects (diff) | |
| download | discord.py-b82a0dc6fd82df1dc01060ae64ee3b2f6512f288.tar.xz discord.py-b82a0dc6fd82df1dc01060ae64ee3b2f6512f288.zip | |
[docs] remove mentions of bot only usability
Diffstat (limited to 'discord/channel.py')
| -rw-r--r-- | discord/channel.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/discord/channel.py b/discord/channel.py index 7a21b5d2..74f274df 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -269,8 +269,6 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): You must have the :attr:`~Permissions.manage_messages` permission to use this. - Usable only by bot accounts. - Parameters ----------- messages: Iterable[:class:`abc.Snowflake`] @@ -281,8 +279,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): ClientException The number of messages to delete was more than 100. Forbidden - You do not have proper permissions to delete the messages or - you're not using a bot account. + You do not have proper permissions to delete the messages. NotFound If single delete, then the message was already deleted. HTTPException @@ -313,8 +310,8 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): without discrimination. You must have the :attr:`~Permissions.manage_messages` permission to - delete messages even if they are your own (unless you are a user - account). The :attr:`~Permissions.read_message_history` permission is + delete messages even if they are your own. + The :attr:`~Permissions.read_message_history` permission is also needed to retrieve message history. Examples |