Skip to content

Commit

Permalink
docs: mention kick_members too
Browse files Browse the repository at this point in the history
  • Loading branch information
vcokltfre committed Mar 1, 2024
1 parent f266d28 commit 891883e
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.manage_guild` permission
to use this.
You must have :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 891883e

Please sign in to comment.