mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 13:49:40 +02:00
Add TranscriptionModule and handleAudioMessage to enable voice message transcription across all Matrix bots. Users can now send voice messages which are automatically transcribed and processed as text commands. Affected bots: - matrix-calendar-bot - matrix-chat-bot - matrix-contacts-bot - matrix-manadeck-bot - matrix-ollama-bot - matrix-picture-bot - matrix-planta-bot - matrix-presi-bot - matrix-questions-bot - matrix-skilltree-bot - matrix-stats-bot - matrix-storage-bot - matrix-tts-bot Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
477 B
TypeScript
17 lines
477 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { MatrixService } from './matrix.service';
|
|
import { PlantaModule } from '../planta/planta.module';
|
|
import { SessionModule, TranscriptionModule } from '@manacore/bot-services';
|
|
|
|
@Module({
|
|
imports: [
|
|
PlantaModule,
|
|
SessionModule.forRoot(),
|
|
TranscriptionModule.register({
|
|
sttUrl: process.env.STT_URL || 'http://localhost:3020',
|
|
}),
|
|
],
|
|
providers: [MatrixService],
|
|
exports: [MatrixService],
|
|
})
|
|
export class BotModule {}
|