diff --git a/discord/gateway.py b/discord/gateway.py index 6848f120f..81c7c09f0 100644 --- a/discord/gateway.py +++ b/discord/gateway.py @@ -708,6 +708,7 @@ class DiscordVoiceWebSocket(websockets.client.WebSocketClientProtocol): state = self._connection state.ssrc = data['ssrc'] state.voice_port = data['port'] + state.endpoint_ip = data['ip'] packet = bytearray(70) struct.pack_into('>I', packet, 0, state.ssrc)