diff --git a/discord/guild.py b/discord/guild.py index 46f00ff43..2705e9eb0 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -4362,7 +4362,7 @@ class Guild(Hashable): Parameters ----------- - users: :class:`abc.Snowflake` + users: Iterable[:class:`abc.Snowflake`] The user to ban from their guild. delete_message_seconds: :class:`int` The number of seconds worth of messages to delete from the user diff --git a/docs/api.rst b/docs/api.rst index d5dcd9ba8..548a1a925 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -7427,14 +7427,14 @@ Guild .. attribute:: banned - The list of users that were banned. The type of the list is a :class:`Object` - representing the user. + The list of users that were banned. The inner :class:`Object` of the list + has the :attr:`Object.type` set to :class:`User`. :type: List[:class:`Object`] .. attribute:: failed - The list of users that could not be banned. The type of the list is a :class:`Object` - representing the user. + The list of users that could not be banned. The inner :class:`Object` of the list + has the :attr:`Object.type` set to :class:`User`. :type: List[:class:`Object`]