MajorBot
Made by Hidden Code. Python bot for Major ⭐ telegram bot
Install / Use
/learn @wuwku6e6/MajorBotREADME
[![Static Badge] (https://t.me/major/start?startapp=592067579)
Recommendation before use
🔥🔥 PYTHON version must be 3.10 🔥🔥
Features
| Feature | Supported | |:-----------------------------:|:---------:| | Multithreading | ✅ | | Proxy binding to session | ✅ | | Auto Referral | ✅ | | Auto Claim Task | ✅ | | Auto Roulette | ✅ | | Auto Hold Coins | ✅ | | Auto Swipe Coins | ✅ | | Auto Puzzle Pavel | ✅ | | Auto Daily Streak | ✅ | | Support for telethon .session | ✅ |
Settings
| Settings | Description |
|:---------------------------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| API_ID / API_HASH | Platform data from which to run the Telegram session (default - android) |
| GLOBAL_CONFIG_PATH | Specifies the global path for accounts_config, proxies, sessions. <br/>Specify an absolute path or use an environment variable (default environment variable: TG_FARM) <br/>If no environment variable exists, uses the script directory. |
| TASKS_WITH_JOIN_CHANNEL | Whether to perform tasks with joining channels (True / False) |
| HOLD_COIN | Ammount coins in Hold Coin (e.g. [585, 600]) |
| SWIPE_COIN | Ammount coins in Swipe Coin (e.g. [2000, 3000]) |
| SUBSCRIBE_SQUAD | Subscribe to Squad by ID (id: 2212658999 (just an example) |
| REF_ID | Your referral id after startapp= (Your telegram ID) |
| USE_RANDOM_DELAY_IN_RUN | Whether to use random delay at startup (True / False) |
| RANDOM_DELAY_IN_RUN | Random delay at startup (e.g. [0, 15]) |
| SLEEP_TIME | Delay before the next lap (e.g. [1800, 3600]) |
| SESSIONS_PER_PROXY | Amount of sessions, that can share same proxy ( 1 ) |
| USE_PROXY_FROM_FILE | Whether to use a proxy from the bot/config/proxies.txt file (True / False) |
| DISABLE_PROXY_REPLACE | Disable automatic checking and replacement of non-working proxies before startup (True / False) |
| DEVICE_PARAMS | Enter device settings to make the telegram session look more realistic (True / False) |
| DEBUG_LOGGING | Whether to log error's tracebacks to /logs folder (True / False) |
Quick Start 📚
To fast install libraries and run bot - open run.bat on Windows or run.sh on Linux
Prerequisites
Before you begin, make sure you have the following installed:
- Python version 3.10
Obtaining API Keys
- Go to my.telegram.org and log in using your phone number.
- Select "API development tools" and fill out the form to register a new application.
- Record the API_ID and API_HASH provided after registering your application in the .env file.
Installation
You can download the repository by cloning it to your system and installing the necessary dependencies:
git clone https://github.com/wuwku6e6/MajorBot.git
cd MajorBot
Then you can do automatic installation by typing:
Windows:
run.bat
Linux:
run.sh
Linux manual installation
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
cp .env-example .env
nano .env # Here you must specify your API_ID and API_HASH, the rest is taken by default
python3 main.py
You can also use arguments for quick start, for example:
~/MajorBot >>> python3 main.py --action (1/2)
# Or
~/MajorBot >>> python3 main.py -a (1/2)
# 1 - Run clicker
# 2 - Creates a session
Windows manual installation
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
copy .env-example .env
# Here you must specify your API_ID and API_HASH, the rest is taken by default
python main.py
You can also use arguments for quick start, for example:
~/MajorBot >>> python main.py --action (1/2)
# Or
~/MajorBot >>> python main.py -a (1/2)
# 1 - Run clicker
# 2 - Creates a session
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
