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!

Oussama has taken his first dose of vaccine D days ago

Oussama has taken his first dose of vaccine D days ago. He may take the second dose no less than L days and no more than R days since his first dose. Determine if Oussama is too early, too late, or i

INDIA - ENSAM Rabat 2 Feb 01, 2022
Auto Filter Bot V2 With Python

How To Deploy Video Subscribe YouTube Channel Added Features Imdb posters for autofilter. Imdb rating for autofilter. Custom captions for your files.

Milas 2 Mar 25, 2022
Translates English into Mandalorian (Mando'a) utilizing a "funtranslations" free API

Mandalorian Translator Translates English into Mandalorian (Mando'a) utilizing a "funtranslations" free API About I created this app to experiment wit

Hayden Covington 1 Dec 04, 2021
A google search telegram bot.

Google-Search-Bot A google search telegram bot. Made with Python3 (C) @FayasNoushad Copyright permission under MIT License License - https://github.c

Fayas Noushad 37 Nov 24, 2022
Bot for Telegram data Analysis

Bot Scraper for telegram This bot use an AI to Work powered by BOG Team you must do the following steps to make the bot functional: Install the requir

8 Nov 28, 2022
Telegram bot/scraper to get the latest NUS vacancy reports.

Telegram bot/scraper to get the latest NUS vacancy reports. Stay ahead of the curve and don't get modrekt.

Chee Hong 1 Jan 08, 2022
Discord heximals: More colors for your bot

DISCORD-HEXIMALS More colors for your bot ! Support : okimii#0434 COLORS ( 742 )

4 Feb 04, 2022
Fairstructure - Structure your data in a FAIR way using google sheets or TSVs

Fairstructure - Structure your data in a FAIR way using google sheets or TSVs. These are then converted to LinkML, and from there other formats

Linked data Modeling Language 23 Dec 01, 2022
domhttpx is a google search engine dorker with HTTP toolkit built with python, can make it easier for you to find many URLs/IPs at once with fast time.

domhttpx is a google search engine dorker with HTTP toolkit built with python, can make it easier for you to find many URLs/IPs at once with fast time

Naufal Ardhani 59 Dec 04, 2022
A Discord Bot created using Pycord!

Hey, I am Slash Bot. A Bot which works with Slash Commands! Prerequisites Python 3+ Check out. the requirements.txt and install all the pakages. Insta

Saumya Patel 1 Nov 29, 2021
Diablo II Resurrected helper

Diablo II Resurrected 快捷施法辅助 功能: + 创建守护进程,注册全局热键 alt+/ 启用和关闭功能 (todo: 播放声音提示) + 按 x 强制移动 + 按 1 ~ 0 快捷施法到鼠标区域 使用 编辑配置 settings.py 技能信息做如下定义: SKILLS:

Wan 2 Nov 06, 2022
Automated crypto trading bot as adapted from Algovibes.

crypto-trading-bot Automated crypto trading bot as adapted from Algovibes. Pre-requisites Ensure that you have created a Binance API key before procee

Kai Koh 33 Nov 01, 2022
Python client for Arista eAPI

Arista eAPI Python Library The Python library for Arista's eAPI command API implementation provides a client API work using eAPI and communicating wit

Arista Networks EOS+ 124 Nov 23, 2022
A simple notebook to stream torrent files directly to Google Drive using Google Colab.

Colab-Torrent-to-Drive Originally by FKLC, this is a simple notebook to stream torrent files directly to Google Drive using Google Colab. You can eith

1 Jan 11, 2022
Google scholar share - Simple python script to pull Google Scholar data from an author's profile

google_scholar_share Simple python script to pull Google Scholar data from an au

Paul Goldsmith-Pinkham 9 Sep 15, 2022
HTTP API for TON (The Open Network)

HTTP API for The Open Network Since TON nodes uses its own ADNL binary transport protocol, a intermediate service is needed for an HTTP connection. TO

66 Dec 28, 2022
Get an SNS alert for High Severity GuardDuty findings

Automation AWS-GuardDuty findings Get an SNS alert for High Severity GuardDuty findings Problem: Getting notified when there is Red finding in AWS Gua

Giten Mitra 4 Nov 18, 2022
A Python library for the Buildkite API

PyBuildkite A Python library and client for the Buildkite API. Usage To get the package, execute: pip install pybuildkite Then set up an instance of

Peter Yasi 29 Nov 30, 2022
Open Resource Calculator Module for Python

Calculator Module for Python By White Night Install #

White_Night_awa 4 Aug 22, 2022
The text based version of my App Blocker that I planning on converting to GUI soon.

App-Blocker The text based version of my App Blocker that I planning on converting to GUI soon. Currently I am just uploading the appblocker.py file,

Harsh Raj 0 Sep 13, 2022