mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-06 10:52:31 +01:00
Added preferred_region optional property of VoiceStateUpdateSchema to allow electron client to connect to voice without crashing
This commit is contained in:
parent
8a312972c8
commit
fac020f3fb
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user