A Discord bot that joins voice channels, records conversations, and provides summaries using OpenAI Whisper and gpt-4o.
- Join/leave voice channels via commands
- Record voice conversations
- Transcribe audio using OpenAI's Whisper
- Generate conversation summaries using gpt-4o
- Node.js 18 or higher
- Discord Bot Token
- OpenAI API Key
- pnpm (recommended) or npm
- Create a Discord App on the Discord Developer Portal (so you can get your discord token)
- Clone the repository
- Create a
.env
file in the root directory:
DISCORD_TOKEN=your_discord_bot_token
OPENAI_API_KEY=your_openai_api_key
- Install dependencies:
pnpm install
- Build project:
pnpm build
- Start the bot:
pnpm start
The bot responds to the following commands:
!join - Bot joins your current voice channel and starts recording
!leave - Bot leaves the voice channel and provides a summary of the conversation