aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNCPlayz <[email protected]>2019-11-23 12:44:50 +0000
committerRapptz <[email protected]>2019-11-26 05:16:53 -0500
commitf554819506356b9c78fd6dbf07a88eadf9dd4693 (patch)
tree16602ce5c26dba39533c0721670f78250a2a0870 /docs
parentFix typo in help.py docs (diff)
downloaddiscord.py-f554819506356b9c78fd6dbf07a88eadf9dd4693.tar.xz
discord.py-f554819506356b9c78fd6dbf07a88eadf9dd4693.zip
Implement `Webhook.type`
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index fbb0b4b8..46bbe2a6 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -1662,6 +1662,18 @@ of :class:`enum.Enum`.
Represents a member currently in the team.
+.. class:: WebhookType
+
+ Represents the type of webhook that can be received.
+
+ .. attribute:: incoming
+
+ Represents a webhook that can post messages to channels with a token.
+
+ .. attribute:: channel_follower
+
+ Represents a webhook that is internally managed by Discord, used for following channels.
+
Async Iterator
----------------