Skip to content

Eagle797/Discord-TTS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text to speech Discord bot using FakeYou.

Massive thanks to @echelon for supporting this project!

Commands

Join

Joins your voice channel.

/join

Leave

Leaves your voice channel.

/leave

Say

Generates speech using FakeYou, sent as an attachment.

/tts <voice> <message>

  • <voice>: Voice model to speak with. Use /voices to list all options.
  • <message>: Message to speak.

Say (voice chat)

Generates speech using FakeYou, spoken through voice chat.

/ttsvc <voice> <message>

  • <voice>: Voice model to speak with. Use /voices to list all options.
  • <message>: Message to speak.

Voices

Lists all available voices.

/voices

Setup

  1. Create your app with a Bot.
  2. Copy your bot's secret token and paste it into config.json.
  3. If you have a FakeYou API token, paste it into config.json.
  4. Go to https://discordapp.com/oauth2/authorize?client_id=<CLIENT_ID>&scope=bot%20applications.commands&permissions=3196928, with <CLIENT_ID> as your app's client ID.
  5. Install Node.js: brew install node
  6. Install FFmpeg: brew install ffmpeg
  7. Install the dependencies: npm install
  8. Run the bot: npm start

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Procfile 0.1%