31 lines
909 B
TypeScript
31 lines
909 B
TypeScript
import { VoiceChannels } from "@avocadi/bot-core/entities/channels/channels.schema";
|
|
import { DynamicVoiceChannelsService } from "@avocadi/bot-core/features/dynamic-voice-channels/dynamic-voice-channels.service";
|
|
import { config } from "config";
|
|
import { voiceChannelsService } from "entities/channels/voice/voice-channels.service";
|
|
|
|
export const dynamicVoiceChannelService = new DynamicVoiceChannelsService(
|
|
voiceChannelsService,
|
|
[
|
|
{
|
|
channelId: config.channelMapping.voice["for-two"],
|
|
key: VoiceChannels.enum["for-two"],
|
|
size: 2,
|
|
},
|
|
{
|
|
channelId: config.channelMapping.voice["for-three"],
|
|
key: VoiceChannels.enum["for-three"],
|
|
size: 3,
|
|
},
|
|
{
|
|
channelId: config.channelMapping.voice["for-four"],
|
|
key: VoiceChannels.enum["for-four"],
|
|
size: 4,
|
|
},
|
|
{
|
|
channelId: config.channelMapping.voice["for-group"],
|
|
key: VoiceChannels.enum["for-group"],
|
|
size: 99,
|
|
},
|
|
],
|
|
);
|