Simple Text-to-Speech Bot that uses Google TTS or Google Cloud TTS
Add your token as an ENV Variable called TOKEN
Command | Description |
---|---|
!call | Summon the bot to your current voice channel |
!bye | Dismiss the bot from the current channel |
!abort | Abort current playback (useful for long texts) |
+en text | Read the next text in the specified language, in this case english. |
Using the CloudTTS nearly all ISO 639-1 languages can be used.
With the environmental variable LANG
, the default language can be set.
docker build -t ttsbot .
docker run -e TOKEN="YOUR-TOKEN" ttsbot
docker build -t ttsbot .
docker run -e TOKEN="YOUR-TOKEN" -e GOOGLE_APPLICATION_CREDENTIALS="path/to/credentials.json" ttsbot