Add support for editing and deleting webhook messages.

Fix #6058
This commit is contained in:
Rapptz
2020-12-09 20:15:35 -05:00
parent b00aaab0b2
commit 44dc7a8e02
4 changed files with 241 additions and 15 deletions

View File

@ -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
~~~~~~~~~