Python Based Card Checker Multi Functional Bot For Telegram
- 10 + Gates
- Code In Python
- etc.
f30044e (initial commit)
Download Python
- Make account on Redis database
- Make subscription with any name and RedisJSON as module
- Copy Public endpoint. (looks like
redis-15602.c114.us-east-1-4.ec2.cloud.redislabs.com:15602
) - Copy Default user password. (looks like
1YnkEFFxrK7VrEWKo1AjuDW2LwAsEcWn
)
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
- 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 - Click On
Browse Collections
. - Click On
Create Database
. - Paste Database name to
bot
and Collection name tomain
. - Click on Create
- Then come back to main screen
- Click on
Connect
then Click onChoose a connection method
- Copy your
connection string
. (looks likemongodb+srv://root:<password>@cluster0.jwf5a.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
)
# 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.
-
PC, LAPTIOP, etc.
-
PYTHON installed in locally
-
MONGO_URI, REDIS_URL, REDIS_PORT and REDIS_PASS
-
BRAIN
- Get Bot token from Botfather (The token looks something like
123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
). - Login to your Telegram account with the phone number of the developer account to use.
- Click under API Development tools.
- 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.
- 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!
- Get Bot token from Botfather (The token looks something like
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
Make Sure You have: MONGO_URI, REDIS_URI, REDIS_PASS, REDIS_PORT, API_ID, API_HASH, BOT_TOKEN.
pip install -r requirements.txt
python3 -m main.py
<<<<<<< HEAD
f30044e (initial commit)