Handle GUILD_ROLE_UPDATE websocket events.

This commit is contained in:
Rapptz committed 2015-10-15 01:37:55 -04:00
1 parent 16a20e5f2f
commit 4ff7d22edd
3 files changed
+20 -2

No files matched your search

+6
View File
@@ -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
-----------------