aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorJeremy Zhang <[email protected]>2018-07-09 05:29:02 +0000
committerRapptz <[email protected]>2018-09-15 18:28:57 -0400
commit17f9916b03eeb3d108913d8191a12156fd79ab85 (patch)
tree3c82dfca9b425f9b67df86eb8373ab863a269053 /docs/api.rst
parentUpdate Japanese string dump. (diff)
downloaddiscord.py-17f9916b03eeb3d108913d8191a12156fd79ab85.tar.xz
discord.py-17f9916b03eeb3d108913d8191a12156fd79ab85.zip
Simple parser for WEBHOOKS_UPDATE
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index d1a5a346..2695788f 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -380,6 +380,12 @@ to handle it, which defaults to print a traceback and ignoring the exception.
:param last_pin: A ``datetime.datetime`` object representing when the latest message
was pinned or ``None`` if there are no pins.
+.. function:: on_webhooks_update(channel)
+
+ Called whenever a webhook is created, modified, or removed from a guild channel.
+
+ :param channel: The :class:`abc.GuildChannel` that had it's webhooks updated.
+
.. function:: on_member_join(member)
on_member_remove(member)