Added preferred_region optional property of VoiceStateUpdateSchema to allow electron client to connect to voice without crashing
This commit is contained in:
		
							parent
							
								
									3b439f74f1
								
							
						
					
					
						commit
						f5f007e81f
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Madeline
						Madeline