feat: joel voice

This commit is contained in:
eric
2026-02-05 14:07:58 +01:00
parent 172c5decd3
commit 24b4c12e7d
19 changed files with 627 additions and 18 deletions

View File

@@ -25,6 +25,11 @@ interface BotConfig {
klipy: {
apiKey: string;
};
elevenlabs: {
apiKey: string;
voiceId: string;
modelId: string;
};
bot: {
/** Chance of Joel responding without being mentioned (0-1) */
freeWillChance: number;
@@ -82,6 +87,11 @@ export const config: BotConfig = {
klipy: {
apiKey: getEnvOrDefault("KLIPY_API_KEY", ""),
},
elevenlabs: {
apiKey: getEnvOrDefault("ELEVENLABS_API_KEY", ""),
voiceId: getEnvOrDefault("ELEVENLABS_VOICE_ID", ""),
modelId: getEnvOrDefault("ELEVENLABS_MODEL", "eleven_multilingual_v2"),
},
bot: {
freeWillChance: 0.02,
memoryChance: 0.3,