Handle GUILD_ROLE_UPDATE websocket events.

This commit is contained in:
Rapptz
2015-10-14 22:54:18 -04:00
parent 16a20e5f2f
commit 4ff7d22edd
3 changed files with 20 additions and 2 deletions

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
-----------------