mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Add support for bulk banning members
This commit is contained in:
19
docs/api.rst
19
docs/api.rst
@ -4491,6 +4491,25 @@ Guild
|
||||
|
||||
:type: :class:`User`
|
||||
|
||||
.. class:: BulkBanResult
|
||||
|
||||
A namedtuple which represents the result returned from :meth:`~Guild.bulk_ban`.
|
||||
|
||||
.. versionadded:: 2.4
|
||||
|
||||
.. attribute:: banned
|
||||
|
||||
The list of users that were banned. The type of the list is a :class:`Object`
|
||||
representing the 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.
|
||||
|
||||
:type: List[:class:`Object`]
|
||||
|
||||
|
||||
ScheduledEvent
|
||||
~~~~~~~~~~~~~~
|
||||
|
Reference in New Issue
Block a user