From d853a3f0a7e19d290021434e85f9c4c14089a874 Mon Sep 17 00:00:00 2001 From: Willy <19799671+Willy-C@users.noreply.github.com> Date: Thu, 18 Apr 2024 03:39:09 -0400 Subject: [PATCH] Document bulk ban user limit and permission --- discord/guild.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/discord/guild.py b/discord/guild.py index 519eb1ce5..c038188c8 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -3694,7 +3694,7 @@ class Guild(Hashable): Parameters ----------- user: :class:`abc.Snowflake` - The user to kick from their guild. + The user to kick from the guild. reason: Optional[:class:`str`] The reason the user got kicked. @@ -3726,7 +3726,7 @@ class Guild(Hashable): Parameters ----------- user: :class:`abc.Snowflake` - The user to ban from their guild. + The user to ban from the guild. delete_message_days: :class:`int` The number of days worth of messages to delete from the user in the guild. The minimum is 0 and the maximum is 7. @@ -3808,14 +3808,14 @@ class Guild(Hashable): The users must meet the :class:`abc.Snowflake` abc. - You must have :attr:`~Permissions.ban_members` to do this. + You must have :attr:`~Permissions.ban_members` and :attr:`~Permissions.manage_guild` to do this. .. versionadded:: 2.4 Parameters ----------- users: Iterable[:class:`abc.Snowflake`] - The user to ban from their guild. + The users to ban from the guild, up to 200 users. delete_message_seconds: :class:`int` The number of seconds worth of messages to delete from the user in the guild. The minimum is 0 and the maximum is 604800 (7 days).