From 17f9916b03eeb3d108913d8191a12156fd79ab85 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Mon, 9 Jul 2018 05:29:02 +0000 Subject: Simple parser for WEBHOOKS_UPDATE --- docs/api.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/api.rst') 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) -- cgit v1.2.3