Louie loves you. He will fetch translations for you. He is a Good Boy.
Translation bot built using discord.js
and Google Translate API
.
- Translate custom messages
- Translate messages by reacting with flag emoji
- Translate last message(s) in channel
- Translate to multiple languages at once
- Automatic translation of channels with option to forward translations to users or seperate channels.
- Supports 100+ languages
- Write
!translate help
or!t help
for a list of commands.
Deploy to Heroku
To deploy a free translation bot that you can add to your discord server, follow these easy steps.
- Fork this repo.
- Use the button in the upper righthand side of the screen to fork the repo so that it will be associated with your github account.
- Create a new Discord App
- Give app a friendly name and click the Create App button
- I suggest the name Louie
- Take note of the app CLIENT ID, you will need it later
- Scroll down to the Bot section
- Click the Create a Bot User button
- Click the Yes, do it! button
- Copy the bot's TOKEN, you will need it later
- Create a Heroku account (It's free!)
- Create a new app. It's name must be unique and composed of all lowercase letters and dashes. Something like
louie-discordbot
is fine - Under Deployment Method select Github. Connect to your github account and search for this repo by name.
- Scroll down to the manual deploy section, and select the heroku-deployment branch. Click deploy branch, and wait for the successfully deployed message.
- Go to the Settings ta. Click to reveal Config Variables, then add a new one. The key will be DISCORD_TOKEN, and the value will be your discord bot's token that you copied earlier.
- Go to the Overview tab and click configure dynos. Turn off the default
web npm start
dyno and turn on theworker node src/bot.js
dyno. Your bot will now be up and running! - If there are any issues, it's helpful to install the Heroku command line interface. Once installed you can login from a terminal with
heroku login
and check your apps logs withheroku logs --tail -a <your-app-name>
- Invite your bot to your server and configure it!
- Replace the CLIENTID string in the following url with your own apps client id: https://discordapp.com/oauth2/authorize?&client_id=CLIENTID&scope=bot&permissions=8
- Vist the resulting url and add your bot to any server where you have admin privileges.
- Once added, your bot should show up more or less instantaneously. Type
!t help
within the discord chat for more details on how to use it. Happy translating!
- Translate Custom Text
- Translate by Reaction
- Translate Last Message
- Translate Channel
- Settings
- Statistics
This project was originally released by Aziz under the MIT license. He chose to take the project private/commercial at version 0.4.2 Beta. Bobby Johnson forked the project and renamed it Louie after his dog. Bobby would like to thank Aziz for his hard work and making these early versions OSS so that others may learn and build on his hard work to share with the community.
- discord-translator created by nvu.io / Aziz Natour - @aziznatour
- Louie forked by NotMyself / Bobby Johnson - @NotMyself
Released under MIT license.