mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-11 12:28:03 +00:00
Clarify some docstrings around BulkBanResponse
This commit is contained in:
parent
ded9c5d87b
commit
0e016be42c
@ -3814,7 +3814,7 @@ class Guild(Hashable):
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
users: :class:`abc.Snowflake`
|
users: Iterable[:class:`abc.Snowflake`]
|
||||||
The user to ban from their guild.
|
The user to ban from their guild.
|
||||||
delete_message_seconds: :class:`int`
|
delete_message_seconds: :class:`int`
|
||||||
The number of seconds worth of messages to delete from the user
|
The number of seconds worth of messages to delete from the user
|
||||||
|
@ -4499,14 +4499,14 @@ Guild
|
|||||||
|
|
||||||
.. attribute:: banned
|
.. attribute:: banned
|
||||||
|
|
||||||
The list of users that were banned. The type of the list is a :class:`Object`
|
The list of users that were banned. The inner :class:`Object` of the list
|
||||||
representing the user.
|
has the :attr:`Object.type` set to :class:`User`.
|
||||||
|
|
||||||
:type: List[:class:`Object`]
|
:type: List[:class:`Object`]
|
||||||
.. attribute:: failed
|
.. attribute:: failed
|
||||||
|
|
||||||
The list of users that could not be banned. The type of the list is a :class:`Object`
|
The list of users that could not be banned. The inner :class:`Object` of the list
|
||||||
representing the user.
|
has the :attr:`Object.type` set to :class:`User`.
|
||||||
|
|
||||||
:type: List[:class:`Object`]
|
:type: List[:class:`Object`]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user