summary refs log tree commit diff
path: root/src/gateway/schema/VoiceStateUpdateSchema.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-26 22:08:14 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-26 22:08:14 +1000
commit1f416b972c6aa0cd4fc43a5790da56f8da21e82c (patch)
tree8222a04cc63c595bc8b236ceeec89ed2fc2b7580 /src/gateway/schema/VoiceStateUpdateSchema.ts
parentFix scripts/benchmark/connections.js (diff)
downloadserver-1f416b972c6aa0cd4fc43a5790da56f8da21e82c.tar.xz
Move schemas to /src/util/schemas
Diffstat (limited to 'src/gateway/schema/VoiceStateUpdateSchema.ts')
-rw-r--r--src/gateway/schema/VoiceStateUpdateSchema.ts17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gateway/schema/VoiceStateUpdateSchema.ts b/src/gateway/schema/VoiceStateUpdateSchema.ts
deleted file mode 100644
index f6480414..00000000
--- a/src/gateway/schema/VoiceStateUpdateSchema.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-export const VoiceStateUpdateSchema = {
-	$guild_id: String,
-	$channel_id: String,
-	self_mute: Boolean,
-	self_deaf: Boolean,
-	$self_video: Boolean,	//required in docs but bots don't always send it
-	$preferred_region: String,
-};
-
-export interface VoiceStateUpdateSchema {
-	guild_id?: string;
-	channel_id?: string;
-	self_mute: boolean;
-	self_deaf: boolean;
-	self_video?: boolean;
-	preferred_region?: string;
-}
\ No newline at end of file