1
0
mirror of https://github.com/Rapptz/discord.py.git synced 2025-05-16 18:59:09 +00:00

Update Guild.prune_members required permissions notes

This commit is contained in:
fretgfr 2024-03-14 17:39:25 -04:00 committed by GitHub
parent 56916f9241
commit edf7ce2ab0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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.