🇷🇺 README на русском доступен здесь
Functional | Supported |
---|---|
Multithreading | ✅ |
Binding a proxy to a session | ✅ |
Auto-purchase of items if you have coins (tap, energy, charge) | ✅ |
Support tdata / pyrogram .session / telethon .session | ✅ |
Setting name | Description |
---|---|
API_ID / API_HASH | Platform data from which to launch a Telegram session (stock - Android) |
AUTO_UPGRADE | Whether to upgrade the passive earn (True / False) |
AUTO_CLICKER | Enable automatic clicker (True / False) |
WAIT_FOR_MOST_PROFIT_UPGRADES | Save money for the most profitable upgrade |
APPLY_DAILY_ENERGY | Whether to use the daily free energy boost (True / False) |
MIN_BALANCE | Minimal balance that always will be available |
MAX_UPGRADE_LEVEL | Maximum level of a profitable card for upgrade |
MAX_UPGRADE_PRICE | Maximum price of a profitable card for upgrade |
MAX_PAYBACK_PERIOD | Maximum payback period in hours for upgrade (default 99_999) |
MIN_TAPS_FOR_CLICKER_IN_PERCENT | Minimum percentage of taps (of the available number) at which the clicker will be launched. Default 60% |
SLEEP_INTERVAL_BEFORE_UPGRADE | Sleep before every upgrade. default: [10, 40] |
SLEEP_INTERVAL_BETWEEN_EVENTS_FOR_PROMOCODES | Sleep before register events for promocodes. default: [20, 30] |
SLEEP_INTERVAL_BETWEEN_PROMOCODES_GENERATIONS | Sleep between promocode generations. default: [5, 15] |
USE_PROXY_FROM_FILE | Whether to use proxy from the bot/config/proxies.txt file (True / False) |
- To install libraries on Windows click on
INSTALL.bat
. - To start the bot use
START.bat
(or in console:python main.py
).
Before you begin, ensure you have the following installed:
- Python version 3.11
- 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.
- Note down the
API_ID
andAPI_HASH
in.env
file provided after registering your application.
You can download Repository by cloning it to your system and installing the necessary dependencies:
~ >>> git clone https://github.com/shamhi/HamsterKombatBot.git
~ >>> cd HamsterKombatBot
#Linux
~/HamsterKombatBot >>> python3 -m venv venv
~/HamsterKombatBot >>> source venv/bin/activate
~/HamsterKombatBot >>> pip3 install -r requirements.txt
~/HamsterKombatBot >>> cp .env-example .env
~/HamsterKombatBot >>> nano .env # Here you must specify your API_ID and API_HASH , the rest is taken by default
~/HamsterKombatBot >>> python3 main.py
#Windows
~/HamsterKombatBot >>> python -m venv venv
~/HamsterKombatBot >>> venv\Scripts\activate
~/HamsterKombatBot >>> pip install -r requirements.txt
~/HamsterKombatBot >>> copy .env-example .env
~/HamsterKombatBot >>> # Specify your API_ID and API_HASH, the rest is taken by default
~/HamsterKombatBot >>> python main.py
Also for quick launch you can use arguments, for example:
~/HamsterKombatBot >>> python3 main.py --action (1/2)
# Or
~/HamsterKombatBot >>> python3 main.py -a (1/2)
#1 - Create session
#2 - Run clicker