diff --git a/gateway/src/schema/VoiceStateUpdateSchema.ts b/gateway/src/schema/VoiceStateUpdateSchema.ts index c046600d..f6480414 100644 --- a/gateway/src/schema/VoiceStateUpdateSchema.ts +++ b/gateway/src/schema/VoiceStateUpdateSchema.ts @@ -4,6 +4,7 @@ export const VoiceStateUpdateSchema = { self_mute: Boolean, self_deaf: Boolean, $self_video: Boolean, //required in docs but bots don't always send it + $preferred_region: String, }; export interface VoiceStateUpdateSchema { @@ -12,4 +13,5 @@ export interface VoiceStateUpdateSchema { self_mute: boolean; self_deaf: boolean; self_video?: boolean; + preferred_region?: string; } \ No newline at end of file