mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
fix: video quality mode data property (#7946)
This commit is contained in:
@@ -20,7 +20,7 @@ class VoiceChannel extends BaseGuildVoiceChannel {
|
|||||||
* The camera video quality mode of the channel.
|
* The camera video quality mode of the channel.
|
||||||
* @type {?VideoQualityMode}
|
* @type {?VideoQualityMode}
|
||||||
*/
|
*/
|
||||||
this.videoQualityMode = VideoQualityModes[data.videoQualityMode];
|
this.videoQualityMode = VideoQualityModes[data.video_quality_mode];
|
||||||
} else {
|
} else {
|
||||||
this.videoQualityMode ??= null;
|
this.videoQualityMode ??= null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user