summary refs log tree commit diff
path: root/src/gateway/opcodes/VoiceStateUpdate.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/opcodes/VoiceStateUpdate.ts
parentFix scripts/benchmark/connections.js (diff)
downloadserver-1f416b972c6aa0cd4fc43a5790da56f8da21e82c.tar.xz
Move schemas to /src/util/schemas
Diffstat (limited to 'src/gateway/opcodes/VoiceStateUpdate.ts')
-rw-r--r--src/gateway/opcodes/VoiceStateUpdate.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/opcodes/VoiceStateUpdate.ts b/src/gateway/opcodes/VoiceStateUpdate.ts
index fa63f7fc..8e1585ec 100644
--- a/src/gateway/opcodes/VoiceStateUpdate.ts
+++ b/src/gateway/opcodes/VoiceStateUpdate.ts
@@ -1,4 +1,3 @@
-import { VoiceStateUpdateSchema } from "../schema/VoiceStateUpdateSchema";
 import { Payload, WebSocket } from "@fosscord/gateway";
 import { genVoiceToken } from "../util/SessionUtils";
 import { check } from "./instanceOf";
@@ -11,6 +10,7 @@ import {
 	VoiceServerUpdateEvent,
 	VoiceState,
 	VoiceStateUpdateEvent,
+	VoiceStateUpdateSchema,
 } from "@fosscord/util";
 // TODO: check if a voice server is setup
 // Notice: Bot users respect the voice channel's user limit, if set. When the voice channel is full, you will not receive the Voice State Update or Voice Server Update events in response to your own Voice State Update. Having MANAGE_CHANNELS permission bypasses this limit and allows you to join regardless of the channel being full or not.