mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-16 18:59:09 +00:00
Update Guild.prune_members required permissions notes
This commit is contained in:
parent
56916f9241
commit
edf7ce2ab0
@ -2565,7 +2565,7 @@ class Guild(Hashable):
|
||||
The inactive members are denoted if they have not logged on in
|
||||
``days`` number of days and they have no roles.
|
||||
|
||||
You must have :attr:`~Permissions.kick_members` to do this.
|
||||
You must have both :attr:`~Permissions.kick_members` and :attr:`~Permissions.manage_guild` to do this.
|
||||
|
||||
To check how many members you would prune without actually pruning,
|
||||
see the :meth:`estimate_pruned_members` function.
|
||||
|
Loading…
x
Reference in New Issue
Block a user