implement first interaction handling

This commit is contained in:
2026-02-18 00:56:54 +01:00
parent cb7235fd69
commit 6053692bc1
31 changed files with 278 additions and 493 deletions

View File

@@ -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,
},
],
);