Skip to content

Stream Discord audio to Deepgram for real-time transcriptions of voice calls.

Notifications You must be signed in to change notification settings

shirgoldbird/discord-transcription

Repository files navigation

👂 Discord Transcription Bot (ft. Deepgram!)

This example shows how to stream Discord audio to Deepgram to provide transcriptions of voice calls.

Interface

The bot lets you define a channel to transcribe voice calls to. It then uses webhooks to transcribe messages as the users who are talking.

image

Usage

$ npm install

# Set a bot token, Deepgram token, and transcription channel (see auth.example.json)
$ cp auth.example.json auth.json
$ nano auth.json

# Start the bot!
$ npm start

Bot Setup

Bot Scopes

  • bot
  • application.commands

Bot Permissions

  • Manage Webhooks
  • Send Messages
  • Use Slash Commands
  • Connect
  • Use Voice Activity

Commands

After the bot joins your server, type !deploy to add the following slash commands.

/join - joins your current voice channel /record - marks you as someone the bot should record /leave - leaves the current voice channel and unmarks any members marked with /record

About

Stream Discord audio to Deepgram for real-time transcriptions of voice calls.

Resources

Stars

Watchers

Forks