mybot-organization/mybot

Move the TRANSLATOR_SERVICES from .env to config.toml

Closed this issue · 1 comments

The TRANSLATOR_SERVICES environ variable is used by the bot to choose from multiple translation services.

This is (will be) used to allow users to select the translator they want to use, with multiple sources available.
However, not all translation services are free, so the TRANSLATOR_SERVICES should be separated into 2 values: PREMIUM_TRANSLATOR_SERVICES and FREE_TRANSLATOR_SERVICES.

Moreover, this value in currently inside the .env file (for no reason).
This should be inside the config.toml file (code needs to be adapted to this change).

#143 closed this.