fix conflicts

This commit is contained in:
iDutchy
2020-12-04 19:05:58 -06:00
22 changed files with 564 additions and 157 deletions

View File

@ -2145,6 +2145,26 @@ Certain utilities make working with async iterators easier, detailed below.
:return: A list of every element in the async iterator.
:rtype: list
.. method:: chunk(max_size)
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):
...
.. warning::
The last chunk collected may not be as large as ``max_size``.
:param max_size: The size of individual chunks.
:rtype: :class:`AsyncIterator`
.. method:: map(func)
This is similar to the built-in :func:`map <py:map>` function. Another
@ -2767,6 +2787,13 @@ Message
.. autoclass:: Message()
:members:
DeletedReferencedMessage
~~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: DeletedReferencedMessage()
:members:
Reaction
~~~~~~~~~
@ -2872,6 +2899,12 @@ Role
.. autoclass:: Role()
:members:
RoleTags
~~~~~~~~~~
.. autoclass:: RoleTags()
:members:
TextChannel
~~~~~~~~~~~~
@ -2999,11 +3032,6 @@ Sticker
.. autoclass:: Sticker()
:members:
MessageReference
~~~~~~~~~~~~~~~~~
.. autoclass:: MessageReference()
:members:
RawMessageDeleteEvent
~~~~~~~~~~~~~~~~~~~~~~~
@ -3092,6 +3120,12 @@ AllowedMentions
.. autoclass:: AllowedMentions
:members:
MessageReference
~~~~~~~~~~~~~~~~~
.. autoclass:: MessageReference
:members:
Intents
~~~~~~~~~~