DiscordTranslator is a Discord selfbot to translate messages for you!
SelfBots are against Discord's TOS as people tend to use them for malicious purposes, so use this at your own risk
Use the package manager pip to install the needed modules.
pip install -r requirements.txt
#1 Open config.py in any text editor / IDE
#2 Replace "YOUR_TOKEN_HERE" with your discord token, do not share this token
#3 Change the prefix if you want to
# Run the script
python3 bot.py
How do I get my Discord Token? Discord Tokens
How can I host this bot?
You can follow this tutorial and learn how to host a discord.py bot on repl.it for completely free! Fork the repo, sign into repl.it with your github account, open up the repo and set up a webserver as shown in the tutorial. Doing this allows your bot to be online 24/7.
<Prefix>tr <from_language> <to_language> [Message]
This translates 'hello there' from en (English) to ja (Japanese).