Git Product home page Git Product logo

phoenixchk's Introduction

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:[email protected]/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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.