mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-04-30 03:22:04 -04:00
* Add Whisper transcription for BossmanJack Discord voice messages Detect Discord voice message attachments (audio with IS_VOICE_MESSAGE flag) from the monitored user and transcribe them via OpenAI Whisper API before relaying to chat. Reuses the existing OpenAi.ApiKey setting. Feature is disabled by default via Whisper.Enabled setting. * Use separate API key setting for Whisper transcription * Switch to local Whisper and post-then-edit transcription flow Voice messages are now relayed immediately with a "transcribing..." placeholder, then transcribed locally via the whisper CLI and the message is edited to append the result. Removes OpenAI API dependency in favor of a local whisper binary. Settings: Whisper.BinaryPath, Whisper.Model, Whisper.Enabled --------- Co-authored-by: DFE <dfe@dfe.com> Co-authored-by: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com>