Clarify VoiceClient.disconnect docs a little more.

This commit is contained in:
Rapptz 2017-09-16 13:29:36 -04:00
parent 91e2163523
commit 305cc3acfa

View File

@ -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