aboutsummaryrefslogtreecommitdiff
path: root/discord/voice_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/voice_client.py')
-rw-r--r--discord/voice_client.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/discord/voice_client.py b/discord/voice_client.py
index 9fcc4ea7..04711d58 100644
--- a/discord/voice_client.py
+++ b/discord/voice_client.py
@@ -75,11 +75,11 @@ class VoiceClient:
Attributes
-----------
- session_id: str
+ session_id: :class:`str`
The voice connection session ID.
- token: str
+ token: :class:`str`
The voice connection token.
- endpoint: str
+ endpoint: :class:`str`
The endpoint we are connecting to.
channel: :class:`abc.Connectable`
The voice channel connected to.
@@ -288,7 +288,7 @@ class VoiceClient:
yield from self.main_ws.voice_state(guild_id, channel.id)
def is_connected(self):
- """bool: Indicates if the voice client is connected to voice."""
+ """:class:`bool`: Indicates if the voice client is connected to voice."""
return self._connected.is_set()
# audio related