feat: add voice transcription support to Matrix bots

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>
This commit is contained in:
Till-JS 2026-02-01 03:37:30 +01:00
parent 12f1288aec
commit c29939e7bc
30 changed files with 934 additions and 459 deletions

View file

@ -1,10 +1,16 @@
import { Module } from '@nestjs/common';
import { MatrixService } from './matrix.service';
import { SkilltreeModule } from '../skilltree/skilltree.module';
import { SessionModule } from '@manacore/bot-services';
import { SessionModule, TranscriptionModule } from '@manacore/bot-services';
@Module({
imports: [SkilltreeModule, SessionModule.forRoot()],
imports: [
SkilltreeModule,
SessionModule.forRoot(),
TranscriptionModule.register({
sttUrl: process.env.STT_URL || 'http://localhost:3020',
}),
],
providers: [MatrixService],
exports: [MatrixService],
})