diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-26 22:08:14 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-26 22:08:14 +1000 |
commit | 1f416b972c6aa0cd4fc43a5790da56f8da21e82c (patch) | |
tree | 8222a04cc63c595bc8b236ceeec89ed2fc2b7580 /src/gateway/schema/VoiceStateUpdateSchema.ts | |
parent | Fix scripts/benchmark/connections.js (diff) | |
download | server-1f416b972c6aa0cd4fc43a5790da56f8da21e82c.tar.xz |
Move schemas to /src/util/schemas
Diffstat (limited to 'src/gateway/schema/VoiceStateUpdateSchema.ts')
-rw-r--r-- | src/gateway/schema/VoiceStateUpdateSchema.ts | 17 |
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 |