Browse Source

Update Guild.prune_members required permissions notes

pull/9752/head
fretgfr 1 year ago
committed by GitHub
parent
commit
edf7ce2ab0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      discord/guild.py

2
discord/guild.py

@ -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…
Cancel
Save