Handle GUILD_ROLE_CREATE websocket events.

This commit is contained in:
Rapptz committed 2015-10-15 01:37:54 -04:00
1 parent 4ec052a35c
commit 9235a34916
2 files changed
+15 -1

No files matched your search

+7
View File
@@ -160,6 +160,13 @@ to handle it, which defaults to log a traceback and ignore the exception.
:param server: The :class:`Server` that got created or deleted.
.. function:: on_server_role_create(server, role)
Called when a :class:`Server` creates a new :class:`Role`.
:param server: The :class:`Server` that was created.
:param role: The :class:`Role` that was created.
Utility Functions
-----------------