fix: video quality mode data property (#7946)

This commit is contained in:
Josh Wee
2022-06-05 00:36:07 -07:00
committed by GitHub
parent a51420f7f8
commit 76df9fdc45

View File

@@ -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;
}