From 76df9fdc451148392a7cfac83de67b8af2fe7bb6 Mon Sep 17 00:00:00 2001 From: Josh Wee Date: Sun, 5 Jun 2022 00:36:07 -0700 Subject: [PATCH] fix: video quality mode data property (#7946) --- src/structures/VoiceChannel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/VoiceChannel.js b/src/structures/VoiceChannel.js index 3ad79269c..f8b11bff3 100644 --- a/src/structures/VoiceChannel.js +++ b/src/structures/VoiceChannel.js @@ -20,7 +20,7 @@ class VoiceChannel extends BaseGuildVoiceChannel { * The camera video quality mode of the channel. * @type {?VideoQualityMode} */ - this.videoQualityMode = VideoQualityModes[data.videoQualityMode]; + this.videoQualityMode = VideoQualityModes[data.video_quality_mode]; } else { this.videoQualityMode ??= null; }