mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
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):
|
||||
"""|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…
x
Reference in New Issue
Block a user