mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
@ -2090,9 +2090,9 @@ Certain utilities make working with async iterators easier, detailed below.
|
||||
Collects items into chunks of up to a given maximum size.
|
||||
Another :class:`AsyncIterator` is returned which collects items into
|
||||
:class:`list`\s of a given size. The maximum chunk size must be a positive integer.
|
||||
|
||||
|
||||
.. versionadded:: 1.6
|
||||
|
||||
|
||||
Collecting groups of users: ::
|
||||
|
||||
async for leader, *users in reaction.users().chunk(3):
|
||||
@ -2544,6 +2544,9 @@ discord.py offers support for creating, editing, and executing webhooks through
|
||||
.. autoclass:: Webhook
|
||||
:members:
|
||||
|
||||
.. autoclass:: WebhookMessage
|
||||
:members:
|
||||
|
||||
Adapters
|
||||
~~~~~~~~~
|
||||
|
||||
|
Reference in New Issue
Block a user