Skip to content

Voice your words on Discord, w/ Azure Cognitive Services.

Notifications You must be signed in to change notification settings

ushuz/seiyuubot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Seiyuu Bot

Give what you said on Discord a voice. Powered by Azure Cognitive Services.

Prerequisites

  • Discord Bot
    • Generate bot token
    • Grant bot permissions to:
      • Read messages
      • Connect to and speak in voice channels
  • Azure Cognitive Services
    • Add a Speech service
    • Use credentials from "Keys and Endpoint" portal:
      • KEY 1 or KEY 2 as the key
      • Location/Region as the region

Install

Ensure dependencies are installed

# libraries
brew install ffmpeg libopus

# packages
pip install -r requirements.txt

Usage

# setup credentials
export DISCORD_TOKEN=<token>
export AZURE_SPEECH_KEY=<key>
export AZURE_SPEECH_REGION=<region>

# configure VOICES in bot.py
vi bot.py

# launch the bot
python bot.py

About

Voice your words on Discord, w/ Azure Cognitive Services.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages