aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-07-29 09:59:28 -0400
committerRapptz <[email protected]>2016-07-29 09:59:28 -0400
commitfeeff2b84864a359aa48b6e49c04ad54cf261c60 (patch)
treefd09b768c8c8bbd7375fae63be02bb4f4b59ed82 /discord/client.py
parentFix KeyError when creating private channels in start_private_message. (diff)
downloaddiscord.py-feeff2b84864a359aa48b6e49c04ad54cf261c60.tar.xz
discord.py-feeff2b84864a359aa48b6e49c04ad54cf261c60.zip
Clarify that Client.purge_from requires Manage Messages for anything.
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/client.py b/discord/client.py
index 0c419450..c07ada45 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -981,9 +981,9 @@ class Client:
``check``. If a ``check`` is not provided then all messages are deleted
without discrimination.
- You must have Manage Messages permission to delete messages that aren't
- your own. The Read Message History permission is also needed to retrieve
- message history.
+ You must have Manage Messages permission to delete messages even if they
+ are your own. The Read Message History permission is also needed to
+ retrieve message history.
Usable only by bot accounts.