mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-24 01:53:01 +00:00
Clarify VoiceClient.disconnect docs a little more.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user