summary refs log tree commit diff
path: root/gateway/src/schema/VoiceStateUpdate.ts.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-12 20:18:05 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-12 20:18:05 +0200
commitd24348ef0f53c80ad618056c45eda6c147525133 (patch)
tree7cf427eb871c2127aef1fdd6c9659452415cd0d6 /gateway/src/schema/VoiceStateUpdate.ts.ts
parentMerge branch 'master' into gateway (diff)
downloadserver-d24348ef0f53c80ad618056c45eda6c147525133.tar.xz
:sparkles: gateway
Diffstat (limited to 'gateway/src/schema/VoiceStateUpdate.ts.ts')
-rw-r--r--gateway/src/schema/VoiceStateUpdate.ts.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/gateway/src/schema/VoiceStateUpdate.ts.ts b/gateway/src/schema/VoiceStateUpdate.ts.ts
new file mode 100644

index 00000000..4345c2f6 --- /dev/null +++ b/gateway/src/schema/VoiceStateUpdate.ts.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; +}