Discord-TTS
Discord-TTS copied to clipboard
Text to speech Discord bot using FakeYou
Discord Text to Speech Bot
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
- Create your app with a Bot.
- Copy your bot's secret token and paste it into config.json.
- If you have a FakeYou API token, paste it into config.json.
- 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. -
Install Node.js:
brew install node
-
Install FFmpeg:
brew install ffmpeg
-
Install the dependencies:
npm install
-
Run the bot:
npm start