https://github.com/mysterypancake/discord-tts
Text to speech Discord bot using FakeYou
https://github.com/mysterypancake/discord-tts
bot discord discord-api discord-bot discord-js discordapp discordbot discordjs discordjs-bot discordjsbot fakeyou javascript node-js nodejs nodejs-bot tacotron text-to-speech tts wavenet
Last synced: 3 months ago
JSON representation
Text to speech Discord bot using FakeYou
- Host: GitHub
- URL: https://github.com/mysterypancake/discord-tts
- Owner: MysteryPancake
- License: mit
- Created: 2021-01-20T03:10:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-09T07:42:37.000Z (over 2 years ago)
- Last Synced: 2025-04-10T13:55:19.513Z (6 months ago)
- Topics: bot, discord, discord-api, discord-bot, discord-js, discordapp, discordbot, discordjs, discordjs-bot, discordjsbot, fakeyou, javascript, node-js, nodejs, nodejs-bot, tacotron, text-to-speech, tts, wavenet
- Language: JavaScript
- Homepage: https://discordapp.com/oauth2/authorize?client_id=801286916082237441&scope=bot%20applications.commands&permissions=3196928
- Size: 157 KB
- Stars: 39
- Watchers: 3
- Forks: 43
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Discord Text to Speech Bot](https://discordapp.com/oauth2/authorize?client_id=801286916082237441&scope=bot%20applications.commands&permissions=3196928)
Text to speech Discord bot using [FakeYou](https://fakeyou.com).Massive thanks to [@echelon](https://github.com/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 model to speak with. Use `/voices` to list [all options](./docs/voices.md).
- ``: Message to speak.### Say (voice chat)
Generates speech using FakeYou, spoken through voice chat.
`/ttsvc `
- ``: Voice model to speak with. Use `/voices` to list [all options](./docs/voices.md).
- ``: Message to speak.### Voices
Lists [all available voices](./docs/voices.md).
`/voices`
## Setup
1. [Create your app with a Bot](https://discordapp.com/developers/applications/me).
2. Copy your bot's secret token and paste it into [config.json](./config.json).
3. If you have a [FakeYou API token](https://docs.fakeyou.com/#/), paste it into [config.json](./config.json).
4. Go to `https://discordapp.com/oauth2/authorize?client_id=&scope=bot%20applications.commands&permissions=3196928`, with `` as your app's client ID.
5. [Install Node.js](https://nodejs.org/en/download): `brew install node`
6. [Install FFmpeg](https://www.ffmpeg.org/download.html): `brew install ffmpeg`
7. [Install the dependencies](./package.json): `npm install`
8. [Run the bot](./ttsbot.js): `npm start`