Text to speech Discord bot using FakeYou.
Massive thanks to @echelon for supporting this project!
Joins your voice channel.
/join
Leaves your voice channel.
/leave
Generates speech using FakeYou, sent as an attachment.
/tts <voice> <message>
<voice>
: Voice model to speak with. Use/voices
to list all options. Use keyword "random" to get a random voice.<message>
: Message to speak.
Generates speech using FakeYou, spoken through voice chat.
/ttsvc <voice> <message>
<voice>
: Voice model to speak with. Use/voices
to list all options. Use keyword "random" to get a random voice.<message>
: Message to speak.
Lists all available voices.
/voices
- 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