aboutsummaryrefslogtreecommitdiff
path: root/discord/voice_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/voice_client.py')
-rw-r--r--discord/voice_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/voice_client.py b/discord/voice_client.py
index 04711d58..f892bdb9 100644
--- a/discord/voice_client.py
+++ b/discord/voice_client.py
@@ -190,7 +190,7 @@ class VoiceClient:
if self._handshake_complete.is_set():
# terminate the websocket and handle the reconnect loop if necessary.
self._handshake_complete.clear()
- yield from self.ws.close(1006)
+ yield from self.ws.close(4000)
return
self._handshake_complete.set()