aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-12-09 20:15:35 -0500
committerRapptz <[email protected]>2020-12-09 20:15:35 -0500
commit44dc7a8e0208b8e5bbec568accab9ab4de818300 (patch)
treeb725764729f6d07709105c3811eef8602076b8d0 /docs
parentRevert Message.edit logic that deals with allowed_mentions (diff)
downloaddiscord.py-44dc7a8e0208b8e5bbec568accab9ab4de818300.tar.xz
discord.py-44dc7a8e0208b8e5bbec568accab9ab4de818300.zip
Add support for editing and deleting webhook messages.
Fix #6058
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 892e175e..ef3f5de5 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -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
~~~~~~~~~