aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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
-----------------