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!

Um script simples para consultar dados, com API's simples.

Info sobre o Script Esta é uma das mais simples ferramentas para consultar dados. Daqui um tempo eu farei um UPGRADE no painel, irei adicionar um banc

Crowley 6 Apr 11, 2022
Telegram Bot for updating ongoing matches of Fotmob.com in channel by @AbirHasan2005

Fotmob-Bot A very simple Telegram Bot which will update ongoing matches of Fotmob in a channel. Demo Channel Configs API_ID - Get this from @TeleORG_B

Abir Hasan 22 Oct 21, 2022
OpenEmu Discord Rich Presence provided with Python!

A simple application that provides your current OpenEmu game as an RPC state in Discord via PyPresence. How to use Unzip and open the latest x86_64 ve

Deltaion Lee 6 May 30, 2022
A powerful discord bot for forming team.

Discord_SquadBot A powerful discord bot for forming team. Pre-requirement Python 3.7 and latest Discord.py module is required. Installation guideline

Jacky Yu 2 Jan 29, 2022
Send pm to Admin - Telegram

Send pm to Admin - Telegram

Ahoora 3 Nov 17, 2022
Notion API Database Python Implementation

Python Notion Database Notion API Database Python Implementation created only by database from the official Notion API. Installing / Getting started p

minwook 78 Dec 19, 2022
Using a Gameboy emulator and making it into a DIscord bot !

Gameboy-Discord Using a Gameboy emulator and making it into a Discord bot ! Im not the best at doing this, and i suck at coding so its completely unde

7 Oct 18, 2022
A Discord bot made by QwertyIsCoding

QwertyBot QwertyBot A Discord bot made by QwertyIsCoding Explore the docs » View Demo . Report Bug . Request Feature About The Project This Discord bo

4 Oct 08, 2022
A Pluggable And Powerful Telegram Manager Bot

FRIDAY-USERBOT 🇮🇳 A Powerful, Smart And Simple Userbot In Pyrogram. Support 🚑 Inspiration & Credits Userge-X Userge Pokurt Pyrogram Code Owners Chs

DevsExpo 371 Mar 26, 2022
A bot framework for Reddit to manage threads, wiki pages, widgets, menus and more.

Sub Manager Sub Manager is a bot framework for Reddit to automate a variety of tasks on one or more subreddits, and can be configured and run without

r/SpaceX 3 Aug 26, 2022
A Python script for rendering glTF files with V-Ray App SDK

V-Ray glTF viewer Overview The V-Ray glTF viewer is a set of Python scripts for the V-Ray App SDK that allow the parsing and rendering of glTF (.gltf

Chaos 24 Dec 05, 2022
Python library for the eWarehousing Solutions API.

eWarehousing Solutions Python Library This library provides convenient access to the eWarehousing Solutions API from applications written in the Pytho

eWarehousing Solutions 2 Nov 09, 2022
5 Oct 19, 2022
Terraform Cloud CLI for Managing Workspace Terraform Versions

Terraform Cloud Version Manager This tiny script makes it easy to update the Terraform Version on all of the Workspaces inside Terraform Cloud. It wil

Robert Hafner 1 Jan 07, 2022
We propose the adversarial blur attack (ABA) against visual object tracking.

ABA We propose the adversarial blur attack (ABA) against visual object tracking. The ICCV link: https://arxiv.org/abs/2107.12085 and, https://openacce

Qing Guo 13 Dec 01, 2022
PerrOS - The operating system for your discord server.

PerrOS PerrOS is a Opensource Discord Bot to do it all! Installation Use the package manager pip to install the python3 requirements. pip3 install -r

Webshort 2 Jun 20, 2022
A python package to easy the integration with Direct Online Pay (Mpesa, TigoPesa, AirtelMoney, Card Payments)

python-dpo A python package to easy the integration with Direct Online Pay (DPO) which easily allow you easily integrate with payment options once wit

NEUROTECH 15 Oct 08, 2022
Ghost-toolbox - Ghost's official Discord raid tool

Ghost Toolbox Ghost's official Discord raid tool. How to use Clone this repo int

G H Ø S T 10 Oct 31, 2022
🔏 Discordちゃんねる ◆wGFzKUzY7E

使い方 discord.pyをインストール. python -m pip install -r requirements.txtを実行. bot.pyと同じ階層に.tokenを用意. bot.pyを実行. ※現状、使用しているライブラリの関係でWindowsOSは未対応です。 コマンド ニックネーム

Gattxxa 3 Feb 02, 2022
SSH-Restricted deploys an SSH compliance rule (AWS Config) with auto-remediation via AWS Lambda if SSH access is public.

SSH-Restricted SSH-Restricted deploys an SSH compliance rule with auto-remediation via AWS Lambda if SSH access is public. SSH-Auto-Restricted checks

Adrian Hornsby 30 Nov 08, 2022