Clarify VoiceClient.disconnect docs a little more.
This commit is contained in:
parent
91e2163523
commit
305cc3acfa
@ -256,7 +256,7 @@ class VoiceClient:
|
|||||||
def disconnect(self, *, force=False):
|
def disconnect(self, *, force=False):
|
||||||
"""|coro|
|
"""|coro|
|
||||||
|
|
||||||
Disconnects all connections to the voice client.
|
Disconnects this voice client from voice.
|
||||||
"""
|
"""
|
||||||
if not force and not self._connected.is_set():
|
if not force and not self._connected.is_set():
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user