Skip to content

Commit

Permalink
docs: update required permissions for prune (#1161)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcokltfre authored Mar 22, 2024
1 parent d37b062 commit 94d40f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions disnake/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -3001,8 +3001,8 @@ async def prune_members(
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` permission
to use this.
You must have the :attr:`~Permissions.manage_guild` and
:attr:`~Permissions.kick_members` permissions to use this.
To check how many members you would prune without actually pruning,
see the :meth:`estimate_pruned_members` function.
Expand Down

0 comments on commit 94d40f9

Please sign in to comment.