We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56916f9 commit edf7ce2Copy full SHA for edf7ce2
discord/guild.py
@@ -2565,7 +2565,7 @@ async def prune_members(
2565
The inactive members are denoted if they have not logged on in
2566
``days`` number of days and they have no roles.
2567
2568
- 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.
2569
2570
To check how many members you would prune without actually pruning,
2571
see the :meth:`estimate_pruned_members` function.
0 commit comments