From ec6f423d6c153adf3385e60c6d1c1f0ce3efa89d Mon Sep 17 00:00:00 2001 From: Dan <31395415+cakedan@users.noreply.github.com> Date: Sat, 16 Jun 2018 16:38:00 -0400 Subject: [PATCH] fixed version not being set on the voice gateway --- disco/voice/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disco/voice/client.py b/disco/voice/client.py index 08f53e9..cb78785 100644 --- a/disco/voice/client.py +++ b/disco/voice/client.py @@ -115,7 +115,7 @@ class VoiceClient(LoggingClass): self.state_emitter.emit(state, prev_state) def _connect_and_run(self): - self.ws = Websocket('wss://' + self.endpoint + '/v={}'.format(self.VOICE_GATEWAY_VERSION)) + self.ws = Websocket('wss://' + self.endpoint + '/?v={}'.format(self.VOICE_GATEWAY_VERSION)) self.ws.emitter.on('on_open', self.on_open) self.ws.emitter.on('on_error', self.on_error) self.ws.emitter.on('on_close', self.on_close)