<img src="icon.png?raw=true" width="75" align="left">
# [Discord Text to Speech Bot](https://discordapp.com/oauth2/authorize?client_id=801286916082237441&scope=bot)
Text to speech Discord bot using [Vocodes](https://vo.codes).
Massive thanks to [NamesJoeyWheeler](https://github.com/NamesJoeyWheeler) for adding so many new voices!
[15.ai](https://15.ai) voices have been removed upon request by the author.
## Commands
### Join
`tts_join`
*Joins the voice channel you are currently in.*
### Leave
`tts_leave`
*Leaves the voice channel.*
### Say
*The following commands make the characters say anything you want.*
*If the bot is in a voice channel, the speech will play through this channel.*
*If not, the speech will be sent as an attachment.*
#### [Voices](https://vo.codes)
<NAME> - `tts_rickman`
<NAME> - `tts_cooper`
<NAME> - `tts_arnold`
<NAME> - `tts_obama`
<NAME> - `tts_bart`
<NAME> - `tts_shapiro`
<NAME> - `tts_stein`
<NAME> - `tts_white`
<NAME> - `tts_bill`
<NAME> - `tts_gates`
<NAME> - `tts_nye`
<NAME> - `tts_barker`
Boomstick - `tts_broomstick`
<NAME> - `tts_cranston`
<NAME> - `tts_lee`
<NAME> - `tts_ferguson`
<NAME> - `tts_keeper`
<NAME> - `tts_devito`
<NAME> - `tts_darth`
<NAME> - `tts_cross`
<NAME> - `tts_trump`
Dr. <NAME> - `tts_phil`
<NAME> - `tts_takei`
<NAME> - `tts_bush`
<NAME> - `tts_gottfried`
<NAME> - `tts_hillary`
<NAME> - `tts_homer`
<NAME> - `tts_simmons`
<NAME> - `tts_jones`
<NAME> - `tts_cramer`
<NAME> - `tts_carter`
<NAME> - `tts_oliver`
<NAME> - `tts_dench`
<NAME> - `tts_king`
<NAME> - `tts_nimoy`
<NAME> - `tts_lisa`
<NAME> - `tts_zuckerberg`
<NAME> - `tts_rosen`
<NAME> - `tts_mcconnell`
Moistcr1tikal - `tts_penguinz0`
Mr. <NAME> - `tts_rogers`
Mr. Krabs - `tts_krabs`
<NAME> - `tts_degrasse`
<NAME> - `tts_luckey`
<NAME> - `tts_graham`
<NAME> - `tts_deen`
<NAME> - `tts_thiel`
<NAME> - `tts_ayoade`
<NAME> - `tts_nixon`
<NAME> - `tts_reagan`
<NAME> - `tts_altman`
<NAME> - `tts_palin`
Saruman - `tts_saruman`
Scout - `tts_scout`
<NAME> - `tts_snape`
<NAME> - `tts_shohreh`
<NAME> - `tts_attenborough`
Solid Snake - `tts_snake`
Sonic - `tts_sonic`
SpongeBob SquarePants - `tts_spongebob`
Squidward - `tts_squidward`
The Boss - `tts_boss`
<NAME> - `tts_wiseau`
<NAME> - `tts_trevor`
<NAME> - `tts_tucker`
<NAME> - `tts_tupac`
Vegeta - `tts_vegeta`
<NAME> - `tts_brimley`
Wizard - `tts_wizard`
<NAME> - `tts_yugi`
## Setup
1. [Create your app with a Bot](https://discordapp.com/developers/applications/me).
2. Copy your bot's secret token and [paste it on this line](ttsbot.js#L8).
3. Go to `https://discordapp.com/oauth2/authorize?client_id=<CLIENT_ID>&scope=bot`, with `<CLIENT_ID>` as your app's client ID.
4. [Install Node.js](https://nodejs.org/en/download): `brew install node`
5. [Install FFmpeg](https://www.ffmpeg.org/download.html): `brew install ffmpeg`
6. [Install the dependencies](package.json#L37-L40): `npm install`
7. [Run the bot](ttsbot.js): `npm start`