lstprjct / python-checker-bot

A Checker Bot For Telegram In Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Based Checker Bot For Telegram

Python Based Card Checker Multi Functional Bot For Telegram

Features

  • 10 + Gates
  • Code In Python
  • etc.

Demo

<<<<<<< HEAD

=======

f30044e (initial commit)

Deployment

Download Python

Getting Redis Endpoint And Password

  • Make account on Redis database
  • Make subscription with any name and RedisJSON as module get public Endpoint
  • Copy Public endpoint. (looks like redis-15602.c114.us-east-1-4.ec2.cloud.redislabs.com:15602) get password
  • Copy Default user password. (looks like 1YnkEFFxrK7VrEWKo1AjuDW2LwAsEcWn)
Examples:
REDIS_URL = 'redis-15602.c114.us-east-1-4.ec2.cloud.redislabs.com'
REDIS_PORT = 15602
REDIS_PASS = '1YnkEFFxrK7VrEWKo1AjuDW2LwAsEcWn'

Replace This Examples With Your Public endpoint and password

Getting MongoDB Connection Url

  • Make account on MongoDB
  • Then make a free database with any name.
  • Add 0.0.0.0 as a ip and your username and password Browse Collections
  • Click On Browse Collections. Create Database
  • Click On Create Database.
  • Paste Database name to bot and Collection name to main.
  • Click on Create
  • Then come back to main screen
  • Click on Connect then Click on Choose a connection method
  • Copy your connection string. (looks like mongodb+srv://root:<password>@cluster0.jwf5a.mongodb.net/myFirstDatabase?retryWrites=true&w=majority)
Examples:
# Replace <password> with the password for the root user. Replace myFirstDatabase with the name of the database that connections will use by default. Ensure any option params are [URL encoded](https://dochub.mongodb.org/core/atlas-url-encoding).
MONGO_URI = 'mongodb+srv://root:R0ld3x0p@cluster0.jwf5a.mongodb.net/myFirstDatabase?retryWrites=true&w=majority'
#Dont Use This URI.

Requirements

  • PC, LAPTIOP, etc.

  • PYTHON installed in locally

  • MONGO_URI, REDIS_URL, REDIS_PORT and REDIS_PASS

  • BRAIN

    1. Get Bot token from Botfather (The token looks something like 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11).
    2. Login to your Telegram account with the phone number of the developer account to use.
    3. Click under API Development tools.
    4. A Create new application window will appear. Fill in your application details. There is no need to enter any URL, and only the first two fields (App title and Short name) can currently be changed later.
    5. Click on Create application at the end. Remember that your API hash is secret and Telegram won’t let you revoke it. Don’t post it anywhere!

Note

This API ID and hash is the one used by your application, not your phone number. You can use this API ID and hash with any phone number or even for bot accounts.

Get API_ID AND API_HASH from my.telegram.org

Deployment

Make Sure You have: MONGO_URI, REDIS_URI, REDIS_PASS, REDIS_PORT, API_ID, API_HASH, BOT_TOKEN.

Connecting Database to bot

  • Open values.py
  • Edit as follows.

Adding API_ID , API_HASH, BOT_TOKEN

  • Open main.py
  • Edit as follows.

Starting Bot

pip install -r requirements.txt
python3 -m main.py

Authors

Support:

<<<<<<< HEAD

  • All Methods: Here ======= All Methods: Here

f30044e (initial commit)

License

MIT

About

A Checker Bot For Telegram In Python.


Languages

Language:Python 100.0%Language:Procfile 0.0%