From 891883e82d51c2486fc185824fb804aeeae83280 Mon Sep 17 00:00:00 2001 From: vcokltfre Date: Fri, 1 Mar 2024 20:56:34 +0000 Subject: [PATCH] docs: mention kick_members too --- disnake/guild.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disnake/guild.py b/disnake/guild.py index 9a8cd8d08b..25887e4a26 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.manage_guild` permission - to use this. + You must have :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.