Game players must not be separated because of language barriers.
Without a command, the bot automatically translates messages in the channel from the Default Language to the Target Language configured in the channel topic.
As reply to the translated message, the bot automatically translates messages in the channel from the Target Language to the Default Language.
In case someone who don't speak neither Default Language nor Target Language, the bot automatically detects the language and translates it to both Default Language and Target Language.
Simply copy .env.example to .env and fill in the required tokens.
Add text below in topic of channel that you want to translate messages.
{
"default_lang": "EN",
"target_lang": "JA"
}
- default_lang: default language spoken in the channel.
- target_lang: language to translate messages to.
- Rust 1.87.0 or later
- Cargo
carg build --releasecargo run --release