aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-09-25 19:00:29 -0400
committerRapptz <[email protected]>2016-09-25 19:00:29 -0400
commit83d3b7256687a068510045be17cc18161b933edb (patch)
tree4583ad3fbff0db728f0525c79dbc4c538f0d726d
parentCatch Player errors and gracefully stop them. (diff)
downloaddiscord.py-83d3b7256687a068510045be17cc18161b933edb.tar.xz
discord.py-83d3b7256687a068510045be17cc18161b933edb.zip
Document undocumented Server.voice_client property.
-rw-r--r--discord/server.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/server.py b/discord/server.py
index aeda793c..c2514509 100644
--- a/discord/server.py
+++ b/discord/server.py
@@ -88,6 +88,9 @@ class Server(Hashable):
Indicates if the server is a 'large' server. A large server is defined as having
more than ``large_threshold`` count members, which for this library is set to
the maximum of 250.
+ voice_client: Optional[:class:`VoiceClient`]
+ The VoiceClient associated with this server. A shortcut for the
+ :meth:`Client.voice_client_in` call.
mfa_level: int
Indicates the server's two factor authorisation level. If this value is 0 then
the server does not require 2FA for their administrative members. If the value is