From edf7ce2ab0204b0f599183112cef5dd7c57dd077 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 416530f3a..7d639fe67 100644 --- a/discord/guild.py +++ b/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.