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
commit9dac7ddf9eb43c4fac263d00b0208e6d337506fd (patch)
treefe50372026cc776e30ae36ed349553c2d3179ad4 /gateway/src/schema/VoiceStateUpdateSchema.ts
parent:art: update openapi title (diff)
downloadserver-9dac7ddf9eb43c4fac263d00b0208e6d337506fd.tar.xz
VOICE_STATE_UPDATE implementation, fix #210
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; +}