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
commit0326fd4aef6d215629bc7788d508ad83c47a72de (patch)
treeaddc34af32d1e0118f232a182ecc74cd6421ffe9 /gateway/src/schema/VoiceStateUpdateSchema.ts
parent:sparkles: add user_id field to Member (diff)
parentMerge pull request #306 from AlTech98/master (diff)
downloadserver-0326fd4aef6d215629bc7788d508ad83c47a72de.tar.xz
Merge branch 'master' of https://github.com/fosscord/fosscord-api
Diffstat (limited to 'gateway/src/schema/VoiceStateUpdateSchema.ts')
-rw-r--r--gateway/src/schema/VoiceStateUpdateSchema.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/gateway/src/schema/VoiceStateUpdateSchema.ts b/gateway/src/schema/VoiceStateUpdateSchema.ts
new file mode 100644

index 00000000..9efa191e --- /dev/null +++ b/gateway/src/schema/VoiceStateUpdateSchema.ts
@@ -0,0 +1,15 @@ +export const VoiceStateUpdateSchema = { + $guild_id: String, + $channel_id: String, + self_mute: Boolean, + self_deaf: Boolean, + self_video: Boolean, +}; + +export interface VoiceStateUpdateSchema { + guild_id?: string; + channel_id?: string; + self_mute: boolean; + self_deaf: boolean; + self_video: boolean; +}