Zero Permissions, Safe Translation Bot for your users! Allows your users to translate any message in the server into 20+ languages
Free and Open source however please leave credit in the embeds to myself TheBlondeAlex - [Discord]
-
install Node.js
-
create a Discord Application
-
create a Discord Bot
-
invite the bot to your server with the following permissions:
- Read Message History
- Read Messages/View Channels
-
Add it to channels you need it to view and work in
-
install the Libretranslate library on your server
-
Follow the instructions on the Libretranslate page to get it running, and make sure it is running on port 5000
- Clone the repository:
- create a .env file and add your bot token, application ID and a webhook URL (for logging)
- run
npm install
to install dependencies - run
npm start
to start the bot
Right click on a message and select apps > Translate Message, this will translate the message into the users locale language with the option to choose another language
The Bot will return an ephemeral message with the translation, and a button to change and choose another language
The bot has 2 slash commands, /translate
and /help
/translate
will translate the message into the users locale language with the option to choose another language
/help
will return a list of commands and how to use them