|
|
@ -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) |
|
|
|