From 25a2367f3b49ba517686abf8aa99955d74bec470 Mon Sep 17 00:00:00 2001 From: fretgfr <51489753+fretgfr@users.noreply.github.com> Date: Tue, 5 Mar 2024 21:46:05 -0500 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 416530f3a43a..7d639fe67f0d 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -2565,7 +2565,7 @@ 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.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.