Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.09 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.09 KB

👂 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