From 949488bbbdfe0f6a433e33712ea1cadb4aeab018 Mon Sep 17 00:00:00 2001 From: Amish Shah Date: Mon, 27 May 2019 14:04:13 +0100 Subject: [PATCH] Fix #3218 --- src/client/voice/VoiceConnection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/voice/VoiceConnection.js b/src/client/voice/VoiceConnection.js index cd2d29a7..b7de316b 100644 --- a/src/client/voice/VoiceConnection.js +++ b/src/client/voice/VoiceConnection.js @@ -433,7 +433,7 @@ class VoiceConnection extends EventEmitter { * @private */ onReady(data) { - this.authentication = data; + Object.assign(this.authentication, data); for (let mode of data.modes) { if (SUPPORTED_MODES.includes(mode)) { this.authentication.mode = mode;