aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst24
-rw-r--r--docs/conf.py1
2 files changed, 24 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst
index c0816af0..cd163d80 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -1692,6 +1692,29 @@ this goal, it must make use of a couple of data classes that aid in this goal.
.. this is currently missing the following keys: reason and application_id
I'm not sure how to about porting these
+Webhook Support
+------------------
+
+discord.py offers support for creating, editing, and executing webhooks through the :class:`Webhook` class.
+
+.. autoclass:: Webhook
+ :members:
+
+Adapters
+~~~~~~~~~
+
+Adapters allow you to change how the request should be handled. They all build on a single
+interface, :meth:`WebhookAdapter.request`.
+
+.. autoclass:: WebhookAdapter
+ :members:
+
+.. autoclass:: AsyncWebhookAdapter
+ :members:
+
+.. autoclass:: RequestsWebhookAdapter
+ :members:
+
.. _discord_api_abcs:
Abstract Base Classes
@@ -1986,7 +2009,6 @@ PermissionOverwrite
.. autoclass:: PermissionOverwrite
:members:
-
Exceptions
------------
diff --git a/docs/conf.py b/docs/conf.py
index c29c8e94..caaa0687 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -50,6 +50,7 @@ extlinks = {
rst_prolog = """
.. |coro| replace:: This function is a |corourl|_.
+.. |maybecoro| replace:: This function *could be a* |corourl|_.
.. |corourl| replace:: *coroutine*
.. _corourl: https://docs.python.org/3/library/asyncio-task.html#coroutine
"""