summary refs log tree commit diff
path: root/gateway/src/schema/VoiceStateUpdateSchema.ts
diff options
context:
space:
mode:
authorAlTech98 <altech123159@gmail.com>2021-09-02 19:33:04 +0200
committerAlTech98 <altech123159@gmail.com>2021-09-02 19:33:04 +0200
commit8ff56b1f9e1b02c111ae725916f7e5be63d94662 (patch)
tree56907eb2747a362d26db4cfd6494bcaee234e7e6 /gateway/src/schema/VoiceStateUpdateSchema.ts
parent:art: update openapi title (diff)
downloadserver-8ff56b1f9e1b02c111ae725916f7e5be63d94662.tar.xz
VOICE_STATE_UPDATE implementation, fix #210
Diffstat (limited to '')
-rw-r--r--gateway/src/schema/VoiceStateUpdateSchema.ts (renamed from gateway/src/schema/VoiceStateUpdate.ts.ts)4
1 files changed, 2 insertions, 2 deletions
diff --git a/gateway/src/schema/VoiceStateUpdate.ts.ts b/gateway/src/schema/VoiceStateUpdateSchema.ts

index 4345c2f6..9efa191e 100644 --- a/gateway/src/schema/VoiceStateUpdate.ts.ts +++ b/gateway/src/schema/VoiceStateUpdateSchema.ts
@@ -1,6 +1,6 @@ export const VoiceStateUpdateSchema = { $guild_id: String, - channel_id: String, + $channel_id: String, self_mute: Boolean, self_deaf: Boolean, self_video: Boolean, @@ -8,7 +8,7 @@ export const VoiceStateUpdateSchema = { export interface VoiceStateUpdateSchema { guild_id?: string; - channel_id: string; + channel_id?: string; self_mute: boolean; self_deaf: boolean; self_video: boolean;