a translator bot for discord

Overview

TranslatorBOT

it is a simple and powerful discord bot, it been used for translating includes more than 100 language, it has a lot of integrated commands, includes a lot of systems for translating and leveling and economy.

Getting Started

First let me show you the commands and then i will show you how to set it up

the commands:

  1. /translate (language) (text)
  2. /detect (text)
  3. /help
  4. /langs
  5. /coins amount [user]
  6. /coins daily
  7. /coins transfer (amount) (user)
  8. /profile [user]
  9. /top levels
  10. /top coins
  11. /rp (user)
  12. /ping
  13. /autotrans (channel) (language)
  14. /multitrans (channel) (language1) (language2)
  15. /remove all
  16. /remove multitrans (channel)
  17. /remove autotrans (channel)
  18. /dislvl {owner only}
  19. /enblvl {owner only}

Now i will show you how to set up the bot

First go to Discord developer portal and login after you logged in with you discord account follow this steps

  1. Create an app

image-20211021143340874

  1. Name your app

image-20211021143509321

  1. Go to bot session

image-20211021143543329

  1. Click add bot

image-20211021143602444

  1. And then copy the token (Be careful and do not give your bot token to any one!)

image-20211021143705203

  1. Before that lets add the bot in our server by clicking on OAuth2 session

image-20211021143853234

  1. Then scroll down and choose like this

image-20211021144156614

  1. Then scroll down and choose bot's permission and make sure you choose this as default

image-20211021144113813

And then copy the invite link and invite it to your server.

Now lets set up the database

First Go to MongoDB and create an account and then follow this setps

  1. Create a project

image-20211021151629009

  1. Name your project

image-20211021151652324

  1. Then click on Create Project

image-20211021151754506

  1. Then click build a database

image-20211021151852583

  1. Then choose the free shared

image-20211021151940910

  1. Then choose the cloud provider & region

image-20211021152149452

  1. Then click on create cluster and wait for moments

image-20211021152248634

  1. Then click Network Access

image-20211021155006414

  1. Then click on Add IP Adress

image-20211021155048501

  1. Then click on Allow access from anywhere then click on confirm

image-20211021155215988

  1. Then click on Browse Collections

image-20211021155835347

  1. Then click on Add My Own Data

image-20211021155923211

  1. Then make sure to name it as i am doing and click on create

image-20211021160049657

  1. Then click on the + sign and add the following list [multiat, dislvl, autotrans_channels, autotranslated_words, status, translated_words, usr_card, usr_lvl]

image-20211021160148504

  1. Then back to the database and click on Connect

image-20211021160412500

  1. Then choose a user name and password for the database user then click Create Database User

image-20211021160503618

  1. Then click on Choose a connection method

image-20211021160610107

  1. Then click on Connect your application

image-20211021160637427

  1. Then choose like this

image-20211021160713534

  1. Then copy the connection link and do not give it to any one and replace <password> with your database user password

image-20211021160802364

  • If you want to change the bot status go to the database and then go to status in collections and insert a document like this

image-20211021163004762

Now lets see config.json

In config.json you will see:

{
    "token": "Your bot token",
    "client": "link to connect to your mongodb client",
    "langs": ["en", "ar", "fr", "hi", "af", "sq", "am", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb",
        "ny", "zh-cn", "zh-tw", "co", "hr", "cs", "da", "nl", "eo", "et", "tl", "fi", "fy", "gl", "ka", "de", "el",
        "gu", "ht", "ha", "haw", "iw", "he", "hmn", "hu", "is", "ig", "id", "ga", "it", "ja", "jw", "kn", "kk",
        "km", "ko", "ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my",
        "ne", "no", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr", "st", "sn", "sd", "si", "sk",
        "sl", "so", "es", "su", "sw", "sv", "tg", "ta", "te", "th", "tr", "uk", "ur", "uz", "vi", "cy", "xh",
        "yi", "yo", "zu"],
    "dkey1": "langdetect token1",
    "dkey2": "langdetect token2",
    "dkey3": "langdetect token3"
}
  1. in "token" you have to put your bot's token
  2. in "client" you have to put your database client
  3. in "dkey1" and "dkey2" and "dkey3" put 3 APIs from https://detectlanguage.com/ after you create an account

Now your ready to upload your bot congrats!

You might also like...
 EthSema - Binary translator for Ethereum 2.0
EthSema - Binary translator for Ethereum 2.0

EthSema is a novel EVM-to-eWASM bytecode translator that can not only ensure the fidelity of translation but also fix commonly-seen vulnerabilities in smart contracts.

It's a Discord bot to control your PC using your Discord Channel or using Reco: Discord PC Remote Controller App.
It's a Discord bot to control your PC using your Discord Channel or using Reco: Discord PC Remote Controller App.

Reco PC Server Reco PC Server is a cross platform PC Controller Discord Bot which is a modified and improved version of Chimera for Reco-Discord PC Re

A small and fun Discord Bot that is written in Python and discord-interactions (with discord.py)
A small and fun Discord Bot that is written in Python and discord-interactions (with discord.py)

Articuno (discord-interactions) A small and fun Discord Bot that is written in Python and discord-interactions (with discord.py) Get started If you wa

Discord bot script for sending multiple media files to a discord channel according to discord limitations.

Discord Bulk Image Sending Bot Send bulk images to Discord channel. This is a bot script that will allow you to send multiple images to Discord channe

An Open-Source Discord bot created to provide basic functionality which should be in every discord guild. We use this same bot with additional configurations for our guilds.

A Discord bot completely written to be taken from the source and built according to your own custom needs. This bot supports some core features and is

Discord ToolBox is a discord bot developed by DJD320 created for the purpose of having some convenient tools in the form of a single bot.

Discord ToolBox Discord ToolBox is a discord bot developed by DJD320 created for the purpose of having some convenient tools in the form of a single b

Linky bot, A open-source discord bot that allows you to add links to ur website, youtube url, etc for the people all around discord to see!

LinkyBot Linky bot, An open-source discord bot that allows you to add links to ur website, youtube url, etc for the people all around discord to see!

Image-Bot-Discord - This Is a discord bot that shows the specific image you search from Google
Image-Bot-Discord - This Is a discord bot that shows the specific image you search from Google

Advanced Discord.py Image Bot CREDITS Made by RLX and Mathiscool README by Milrato Installation Guide in .env Adjust the TOKEN python main.py to start

Discord.py-Bot-Template - Discord Bot Template with Python 3.x

Discord Bot Template with Python 3.x This is a template for creating a custom Di

A simple google translator telegram bot version 2

Translator-Bot-V2 A simple google translator telegram bot version 2 Made with Python3 (C) @FayasNoushad Copyright permission under MIT License License

Fayas Noushad 15 Oct 21, 2022
Google translator bot using pyTelegramBotAPI

iTranslator-bot Super google translator bot using pyTelegramBotAPI A bot is a professional bot that automatically detects a language in texts or capti

Abdulatif 6 Nov 22, 2022
An advanced telegram language translator bot

Made with Python3 (C) @FayasNoushad Copyright permission under MIT License License -> https://github.com/FayasNoushad/Translator-Bot-V3/blob/main/LICE

Fayas Noushad 19 Dec 24, 2022
Satoshi is a discord bot template in python using discord.py that allow you to track some live crypto prices with your own discord bot.

Satoshi ~ DiscordCryptoBot Satoshi is a simple python discord bot using discord.py that allow you to track your favorites cryptos prices with your own

Théo 2 Sep 15, 2022
Injector/automatic translator (using deepL API) for Tsukihime Remake

deepLuna Extractor/Editor/Translator/Injector for Tsukihime Remake About deepLuna, from "deepL", the machine translation service, and "Luna", the name

null 30 Dec 15, 2022
Translator based on Google API

Yakusu Toshiko Translator based on Google API. Instance of this bot is running as @yakusubot. Features Add a plus to a language's name to show an orig

Arisu W. 2 Sep 21, 2022
A simple language translator with python and google translate api

Language translator with python A simple language translator with python and google translate api Install pip and python 3.9. All the required depende

null 0 Nov 11, 2021
streamlit translator is used to detect and translate between languages created using gTTS, googletrans, pillow and streamlit python packages

Streamlit Translator Streamlit Translator is a simple translator app to detect and translate between languages. Streamlit Translator gets text and lan

Siva Prakash 5 Apr 5, 2022
This is a translator that i made by myself in python with the 'googletrans' library

Translator-Python This is a translator that i made by myself in python with the 'googletrans' library This application completely made in python allow

Thadeuks 2 Jun 17, 2022
Simple Translator in Python

Simple Translator in Python Project Description: In this project, we'll be making a very simple translator in Python using some libraries. Requirement

Hassan Shahzad 3 Jan 23, 2022