summary refs log tree commit diff
path: root/gateway
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-11 23:11:48 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-13 21:57:51 +0200
commit34ca1a8a6c1b195c45f13ebd3b29064a9623af6f (patch)
tree26314ecd6bf95d5f8783744340e30fa0cdfc2811 /gateway
parentMake fosscord read config from json if CONFIG_PATH is set (diff)
downloadserver-34ca1a8a6c1b195c45f13ebd3b29064a9623af6f.tar.xz
Make ConfigValue a directory, move defaults to those classes instead of a separate object
Diffstat (limited to 'gateway')
-rw-r--r--gateway/src/opcodes/VoiceStateUpdate.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/gateway/src/opcodes/VoiceStateUpdate.ts b/gateway/src/opcodes/VoiceStateUpdate.ts
index d62425f3..8c430d56 100644
--- a/gateway/src/opcodes/VoiceStateUpdate.ts
+++ b/gateway/src/opcodes/VoiceStateUpdate.ts
@@ -7,12 +7,12 @@ import {
 	emitEvent,
 	Guild,
 	Member,
-	Region,
 	VoiceServerUpdateEvent,
 	VoiceState,
 	VoiceStateUpdateEvent,
 } from "@fosscord/util";
 import { OrmUtils } from "@fosscord/util";
+import { Region } from "@fosscord/util/src/config";
 // 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.