Copy the built Jar file from releases of this repository, run it the first time and paste afterward your bot token and your DeepL API Auth Token into ./Translator/config.yml
Restart the bot and now the translation features are accessible.
To prevent spam on the server, the bot also has a built-in cooldown system which can be customized via the config, for that you can set the maximum amount of translated messages per x minutes.
Those values are set by default to:
cooldown:
messages: 20
perMinutes: 10
You can either translate a message into english by right-clicking a Discord message, then opening the Apps
menu and pressing Translate!
or just by replying to the message to be translated with mentioning @the bot.
Also in the Apps
context menu is the possibility to translate a message silently which means only you will see the translation.