aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-10-14 22:54:18 -0400
committerRapptz <[email protected]>2015-10-15 01:37:55 -0400
commit4ff7d22edd08e7d325fc7601fdd091ec74edfd88 (patch)
tree9df36966829768cd5019b6c986e22213182bd878 /docs
parentHandle GUILD_ROLE_DELETE websocket events. (diff)
downloaddiscord.py-4ff7d22edd08e7d325fc7601fdd091ec74edfd88.tar.xz
discord.py-4ff7d22edd08e7d325fc7601fdd091ec74edfd88.zip
Handle GUILD_ROLE_UPDATE websocket events.
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 2d5c73b7..7c15020d 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -168,6 +168,12 @@ to handle it, which defaults to log a traceback and ignore the exception.
:param server: The :class:`Server` that was created or deleted.
:param role: The :class:`Role` that was created or deleted.
+.. function:: on_server_role_update(role)
+
+ Called when a :class:`Role` is changed server-wide.
+
+ :param role: The :class:`Role` that was updated.
+
Utility Functions
-----------------