aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 7c15020d..62e41e4d 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -174,6 +174,18 @@ to handle it, which defaults to log a traceback and ignore the exception.
:param role: The :class:`Role` that was updated.
+.. function:: on_voice_state_update(member)
+
+ Called when a :class:`Member` changes their voice state.
+
+ The following, but not limited to, examples illustrate when this event is called:
+
+ - A member joins a voice room.
+ - A member leaves a voice room.
+ - A member is muted or deafened by their own accord.
+ - A member is muted or deafened by a server administrator.
+
+ :param member: The :class:`Member` whose voice state changed.
Utility Functions
-----------------