From 81d451b63e56b7aafb79c5b91056ee188eaacbe5 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 2705e9eb0..4aa928766 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -4242,7 +4242,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. @@ -4274,7 +4274,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. @@ -4356,14 +4356,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).