Skip to content

bryce-hoehn/discord-whisper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Whisper Bot

A Discord bot that records voice channel audio and transcribes it using Whisper. Currently only supports Apple Silion.

Features

  • Record audio from Discord voice channels
  • Separate audio files per speaker
  • Transcribe speech using Whisper (base.en model)
  • Generate summaries of transcriptions

Setup

  1. Create a .env file with your Discord bot token:

    DISCORD_TOKEN=YOUR_TOKEN_HERE
    
  2. Install dependencies:

    pip install -r requirements.txt
    
    brew install libogg opus opusfile libopusenc libvorbis flac ffmpeg
    
  3. Run the bot:

    python main.py
    

Usage

  1. Join a voice channel
  2. Type /record in a text channel
  3. Speak in the voice channel
  4. Type /stop to stop recording
  5. The bot will post the transcription and summary

Requirements

  • Apple Silicon (M1/M2/M3) Mac
  • Python 3.11
  • Discord bot token
  • Whisper model (auto-downloaded on first run)

Project Structure

  • main.py - Bot entry point and Discord commands
  • transcription.py - Audio transcription using Whisper
  • summarization.py - Text summarization using Qwen3 model
  • recordings/ - Saved audio files (created automatically)

About

A Discord bot that records voice channel audio and transcribes it using Whisper.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages