diff options
| author | CraftSpider <[email protected]> | 2019-02-15 10:41:13 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-02-18 03:47:56 -0500 |
| commit | e920fe9a56bf6dccb79d9c6cbd9bc6b2054a21a5 (patch) | |
| tree | 7affc8ab1ab9a05f39a0d915895d83089d47c371 /docs/api.rst | |
| parent | Manually calculate millisceond epoch rather than bitshifting (diff) | |
| download | discord.py-e920fe9a56bf6dccb79d9c6cbd9bc6b2054a21a5.tar.xz discord.py-e920fe9a56bf6dccb79d9c6cbd9bc6b2054a21a5.zip | |
Add guild_integrations_update event
Diffstat (limited to 'docs/api.rst')
| -rw-r--r-- | docs/api.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst index 5816f60f..45baab54 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_guild_integrations_update(guild) + + Called whenever an integration is created, modified, or removed from a guild. + + :param guild: The :class:`Guild` that had its integrations updated. + .. function:: on_webhooks_update(channel) Called whenever a webhook is created, modified, or removed from a guild channel. |