From 94d40f981b638cdf56d962549f653d73a02508dd Mon Sep 17 00:00:00 2001 From: vcokltfre Date: Fri, 22 Mar 2024 15:04:02 +0000 Subject: [PATCH] docs: update required permissions for prune (#1161) --- disnake/guild.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disnake/guild.py b/disnake/guild.py index f223cd72cf..9c2cf7f9b9 100644 --- a/disnake/guild.py +++ b/disnake/guild.py @@ -3001,8 +3001,8 @@ 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` permission - to use this. + You must have the :attr:`~Permissions.manage_guild` and + :attr:`~Permissions.kick_members` permissions to use this. To check how many members you would prune without actually pruning, see the :meth:`estimate_pruned_members` function.