Welcome to discord-tts-bot
! This innovative Discord bot uses text-to-speech (TTS) technology to bring your voice channels to life. Whether you're hosting a game night, a study group, or just hanging out, discord-tts-bot
adds an extra layer of interaction to your Discord server.
- High Precision Text-to-Speech: Utilizes AWS Polly for high accuracy in reading both Kanji and English text, providing a natural voice experience across diverse language environments.
- Text-to-Speech in Voice Channels: Simply type, and the bot speaks in your voice channel.
- Easy to Set Up: A few steps and your bot is ready on your server.
Before you begin, make sure you have:
- Docker and docker-compose installed.
- An AWS account.
- A Discord bot token.
To set up your discord-tts-bot
, configure the following environment variables:
DISCORD_TOKEN
: Obtain this token from Discord to authenticate and run your bot. It's essential for bot operation on your server.- AWS Credentials (for text-to-speech functionality using AWS Polly):
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_REGION
: Set these to integrate AWS Polly for high-quality text-to-speech conversion.
DISCORD_CMD_PREFIX
: This is the prefix used for calling the bot commands in Discord. It can be any character or sequence of your choice.
- Invite the bot to your Discord server.
- Start the bot with
docker-compose run app /bin/bash -c "make run"
. - In Discord, type
/join
to have the bot join a voice channel. - Start typing in discord chat and hear your messages read aloud!
- Development: Use
docker-compose run app /bin/bash
for a development environment. - Testing: Run
make test
to execute tests. - Linting and Formatting: Keep your code clean with
make watch
. - Package Installation: Use
make install
to install development packages.
- Deploy on Heroku with easy steps detailed in the deployment section.
- Follow the release and deployment guide for smooth updates.
git switch master
git pull
git switch -c release/vx.x.x
- Bump up to vx.x.x in Cargo.toml
git commit -m ':bookmark: vx.x.x'
git push --set-upstream origin release/vx.x.x
- Create Pull Request
- Merge Pull Request
sounds/shabeko_dayo.wav
: This specific sound file was generated using CoeFontStudio.
Try out my sample bot and see discord-tts-bot
in action!
This project is proudly licensed under the MIT License. Check out the LICENSE file for more details.