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!

Confirm that files have been uploaded to Backblaze Cloud Backup successfully

Backblaze Backup Checker This Python script compares metadata captured from files within source folders against data parsed from Backblaze Cloud Backu

18 Jul 29, 2022
A discord bot written in python

arch-bot A discord bot written in python prefix: . help: .help Installation Requirements A discord bot token Your user id Python installed. For window

3 Jan 10, 2022
An EmbedBuilder for Discord bots in Python.

An EmbedBuilder for Discord bots in Python. You need discord.py to use this module.

6 Jan 13, 2022
An open-source Discord Nuker can be used as a self-bot or a regular bot.

How to use Double click avery.exe, and follow the prompts Features Important! Make sure to use [9] (Scrape Info) before using these, or some things ma

Exortions 3 Jul 03, 2022
Pyspark sam - Analyze Big Sequence Alignments with PySpark in AWS EMR

pyspark_sam This repo hosts my code for the article "Analyze Big Sequence Alignm

Sixing Huang 4 Dec 09, 2022
Takes upcoming items from a Google Calendar and posts them to Slack.

Google Calendar to Slack by Jason Snell - [email protected] This Python s

6 Aug 21, 2022
Python: Asynchronous client for the Open-Meteo API.

Python: Asynchronous client for the Open-Meteo API. Asynchronous client for the Open-Meteo API. About Open-Meteo offers free weather forecast APIs for

Franck Nijhof 11 Dec 21, 2022
Pythonic wrapper for the Aladhan prayer times API.

aladhan.py is a pythonic wrapper for the Aladhan prayer times API. Installation Python 3.6 or higher is required. To Install aladhan.py with pip: pip

HETHAT 8 Aug 17, 2022
🔮 Uncover some followers of a private instagram account

Private Instagram Chaining 🔮 Uncover part of followers of an instagram private account I have this private instagram account julianakhao. I need to g

аэт 69 Dec 17, 2022
This bot will delete messages containing blacklisted words in your telegram groups.

Profanity Detector Bot This bot will delete messages containing blacklisted words in your telegram groups. Made using ProfanityDetector.

Aditya 17 Oct 08, 2022
3X Fast Telethon Based Bot

📺 YouTube Song Downloader Bot For Telegram 🔮 3X Fast Telethon Based Bot ⚜ Easy To Deploy 🤗

@Dk_king_offcial 1 Dec 09, 2021
Discord bot to monitor collection of mods on the Steam Workshop and notify on update to selected discord server via Nextcordbot API.

Steam-Workshop-Monitor Discord bot to monitor collection of mods on the Steam Workshop and notify on update to selected Discord channel via Nextcordbo

7 Nov 03, 2022
Nonebot2 简易群管

简易群管 ✨ NoneBot2 简易群管 ✨ _ 踢 改 禁 欢迎issue pr 权限说明:permission=SUPERUSER 安装 💿 pip install nonebot-plugin-admin 导入 📲 在bot.py 导入,语句: nonebot.load_plugin("n

幼稚园园长 74 Dec 22, 2022
A Python script that wraps the gitleaks tool to enable scanning of multiple repositories in parallel

mpgitleaks A Python script that wraps the gitleaks tool to enable scanning of multiple repositories in parallel. The motivation behind writing this sc

Emilio Reyes 7 Dec 29, 2022
An advanced api client for python botters.

[ALPHA] pybotters An advanced api client for python botters. 📌 Description pybottersは仮想通貨botter向けのPythonライブラリです。複数取引所に対応した非同期APIクライアントであり、bot開発により素晴ら

261 Dec 31, 2022
Dribble sign up screen built in python and kivy

Dribble sign up screen built in python and kivy contains Dribble icon with icon position and shadow animation.

1 Dec 06, 2021
Debugging with Stack Overflow: Web Search Behavior in Novice and Expert Programmers

Debugging with Stack Overflow: ICSE SEET, 2022 This is the GitHub repository associated with the 2022 ICSE SEET paper, Debugging with Stack Overflow:

Madeline Endres 1 Jan 31, 2022
Automation for grabbing keys from a Linux host. Useful during red team exercises to quickly help assess what access to a Linux host can lead to.

keygrabber Automation for grabbing keys from a Linux host. This can be helpful during red team exercises when you gain access to a Linux host and want

Cedric Owens 14 Sep 27, 2022
I was sick of having to hand my friends my phone, so I gave my Spotify some SMS features!

SMSpotifY Just a little tool so that my friends can text a phone number and add to my spotify queue for parties and such:) Features Roles / Access Con

Sara 2 Jan 17, 2022
A telegram bot providing recon and research functions for bug bounty research

Bug Bounty Bot A telegram bot with commands to simplify bug bounty tasks Installation Use Road Map Installation BugBountyBot is open-source so you can

Tyler Butler 1 Oct 23, 2021