mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
Fix #3218
This commit is contained in:
parent
1ce670daa9
commit
949488bbbd
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue