From ac70bf0990c1c3e66a8a5892347d2ed3cfab15f5 Mon Sep 17 00:00:00 2001 From: fretgfr <51489753+fretgfr@users.noreply.github.com> Date: Thu, 14 Mar 2024 17:39:25 -0400 Subject: [PATCH] Update Guild.prune_members required permissions notes --- discord/guild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/guild.py b/discord/guild.py index 830ffbade..8df15658d 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -3044,7 +3044,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.