diff options
| author | Rapptz <[email protected]> | 2015-09-25 16:09:10 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-09-25 16:09:10 -0400 |
| commit | 120b9cd3b2ade2ace73cb926b8dca7297329f10f (patch) | |
| tree | 541e8fd6cb7bd94c09f41da7f411194a3add0790 /docs | |
| parent | Add support for channel topics. (diff) | |
| download | discord.py-120b9cd3b2ade2ace73cb926b8dca7297329f10f.tar.xz discord.py-120b9cd3b2ade2ace73cb926b8dca7297329f10f.zip | |
Listen to CHANNEL_UPDATE events and add on_channel_update
Diffstat (limited to 'docs')
| -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 ccd27f2e..ef3247fc 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -86,6 +86,12 @@ All events are 'sandboxed', in that if an exception is thrown while the event is :param channel: The :class:`Channel` that got added or deleted. +.. function:: on_channel_update(channel) + + Called whenever a channel is updated. e.g. changed name, topic, permissions. + + :param channel: The :class:`Channel` that got updated. + .. function:: on_member_join(member) on_member_remove(member) |