aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-09-25 16:09:10 -0400
committerRapptz <[email protected]>2015-09-25 16:09:10 -0400
commit120b9cd3b2ade2ace73cb926b8dca7297329f10f (patch)
tree541e8fd6cb7bd94c09f41da7f411194a3add0790 /docs
parentAdd support for channel topics. (diff)
downloaddiscord.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.rst6
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)