fix(GuildChannelManager): allow unsetting rtcRegion (v13)
#8362 v13.9.2
This commit is contained in:
parent
8946f9ab35
commit
7cf216fabf
@ -274,7 +274,7 @@ class GuildChannelManager extends CachedManager {
|
||||
nsfw: data.nsfw,
|
||||
bitrate: data.bitrate ?? channel.bitrate,
|
||||
user_limit: data.userLimit ?? channel.userLimit,
|
||||
rtc_region: data.rtcRegion ?? channel.rtcRegion,
|
||||
rtc_region: 'rtcRegion' in data ? data.rtcRegion : channel.rtcRegion,
|
||||
video_quality_mode:
|
||||
typeof data.videoQualityMode === 'string' ? VideoQualityModes[data.videoQualityMode] : data.videoQualityMode,
|
||||
parent_id: parent,
|
||||
|
Loading…
Reference in New Issue
Block a user