Browse Source

Clarify VoiceClient.disconnect docs a little more.

pull/785/head
Rapptz 8 years ago
parent
commit
305cc3acfa
  1. 2
      discord/voice_client.py

2
discord/voice_client.py

@ -256,7 +256,7 @@ class VoiceClient:
def disconnect(self, *, force=False):
"""|coro|
Disconnects all connections to the voice client.
Disconnects this voice client from voice.
"""
if not force and not self._connected.is_set():
return

Loading…
Cancel
Save