Skip to content

Commit edf7ce2

Browse files
authored
Update Guild.prune_members required permissions notes
1 parent 56916f9 commit edf7ce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/guild.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2565,7 +2565,7 @@ async def prune_members(
25652565
The inactive members are denoted if they have not logged on in
25662566
``days`` number of days and they have no roles.
25672567
2568-
You must have :attr:`~Permissions.kick_members` to do this.
2568+
You must have both :attr:`~Permissions.kick_members` and :attr:`~Permissions.manage_guild` to do this.
25692569
25702570
To check how many members you would prune without actually pruning,
25712571
see the :meth:`estimate_pruned_members` function.

0 commit comments

Comments
 (0)