implement first interaction handling
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
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 "entitites/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,
|
||||
},
|
||||
],
|
||||
);
|
||||
Reference in New Issue
Block a user