summary refs log tree commit diff
path: root/gateway/src/schema/VoiceStateUpdateSchema.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-02 21:11:08 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-02 21:11:08 +0200
commit7eb20464afbc6fcbedef4988617784aa7abf2b3b (patch)
treeca03fd8ff7d568428dcd8fc3e4f3134f211ea98d /gateway/src/schema/VoiceStateUpdateSchema.ts
parent:sparkles: add user_id field to Member (diff)
parentMerge pull request #306 from AlTech98/master (diff)
downloadserver-7eb20464afbc6fcbedef4988617784aa7abf2b3b.tar.xz
Merge branch 'master' of https://github.com/fosscord/fosscord-api
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;