Clarify that Client.purge_from requires Manage Messages for anything.
This commit is contained in:
parent
fbd628fae3
commit
feeff2b848
@ -981,9 +981,9 @@ class Client:
|
|||||||
``check``. If a ``check`` is not provided then all messages are deleted
|
``check``. If a ``check`` is not provided then all messages are deleted
|
||||||
without discrimination.
|
without discrimination.
|
||||||
|
|
||||||
You must have Manage Messages permission to delete messages that aren't
|
You must have Manage Messages permission to delete messages even if they
|
||||||
your own. The Read Message History permission is also needed to retrieve
|
are your own. The Read Message History permission is also needed to
|
||||||
message history.
|
retrieve message history.
|
||||||
|
|
||||||
Usable only by bot accounts.
|
Usable only by bot accounts.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user