A Discord bot that translates channels between languages.
translate-bot is intended on being used exclusively with Docker.
- Copy
.translatebotrc.examplefrom this repository to.translatebotrcon your system and fill it out.- Environment variables can also be used.
TRANSLATEBOT_mirror__channel_id=174917294757361would define the mirror channel id.
- Environment variables can also be used.
- Create a Google Translate API service account and download the key. Save it as
service-account.json. -
docker run -d --name translate-bot \ -v /path/to/your/service-account.json:/opt/translate-bot/service-account.json \ -v /path/to/your/.translatebotrc:/opt/translate-bot/.translatebotrc \ sylver/translate-bot:master- Replace
/path/to/your/.translatebotrcwith the actual path to the.translatebotrcfile you filled out.
- Replace