Skip to content

A speech-to-text framework and bot for Discord written in GoLang. Take control of your Discord server using speech and voice commands. Can also be useful for hearing impaired and deaf people.

inevolin/DiscordEarsGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordEarsGo

A speech-to-text bot for Discord written in GoLang. Can be useful for hearing impaired and deaf people. Try the bot for yourself on our Discord server: https://discord.gg/ApdTMG9

Note: This works only on a Linux x86 platform

Setup

In your Discord Developers Bot settings, you need to enable these intents:

image

  1. You may need to install opus apt-get install opus-tools
  2. Clone this repository and cd inside
  3. Create .env file to provide your Discord bot token: TOKEN=...

Usage

  • Run VOSK_PATH=$(pwd)/vosk-linux-x86_64-0.3.45 LD_LIBRARY_PATH=$VOSK_PATH CGO_CPPFLAGS="-I $VOSK_PATH" CGO_LDFLAGS="-L $VOSK_PATH" go run ears.go
  • Or use go build to (with the above CLI prefix) and run the binary

Usage

  1. Enter one of your voice channels.
  2. In one of your text channels type: *join, the bot will join the voice channel.
  3. Everything said within that channel will be transcribed into text (as long as the bot is within the voice channel).
  4. Type *leave to make the bot leave the voice channel.

STT

You can find and download more STT models here: https://alphacephei.com/vosk/models

About

A speech-to-text framework and bot for Discord written in GoLang. Take control of your Discord server using speech and voice commands. Can also be useful for hearing impaired and deaf people.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published