diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-11 23:11:48 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-13 21:57:51 +0200 |
commit | 34ca1a8a6c1b195c45f13ebd3b29064a9623af6f (patch) | |
tree | 26314ecd6bf95d5f8783744340e30fa0cdfc2811 /gateway/src/opcodes/VoiceStateUpdate.ts | |
parent | Make fosscord read config from json if CONFIG_PATH is set (diff) | |
download | server-34ca1a8a6c1b195c45f13ebd3b29064a9623af6f.tar.xz |
Make ConfigValue a directory, move defaults to those classes instead of a separate object
Diffstat (limited to 'gateway/src/opcodes/VoiceStateUpdate.ts')
-rw-r--r-- | gateway/src/opcodes/VoiceStateUpdate.ts | 2 |
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. |