- Support multi-sessions
- Autotap when Enegry is full
- Auto Boosters activation and use
⚙ Settings
TG_BOT_TOKEN / CHAT_ID / TG_NOTIFICATIONS - Telegram data
These values are necessary if you wanna receive notification to Telegram.
- Example:
CHAT_ID=2182472
TG_BOT_TOKEN=b592f0d605a1b67c20e8d1c7582f20
TG_NOTIFICATIONS=True
TG_NOTIFICATIONS_ACCESS_TOKEN=False
USE_RANDOM_DELAY_IN_RUN - Use Random Delay at Startup
This setting allows for random delays for each session before starting the bot, helping to start each session separately rather than simultaneously.
- Example:
True / False
- Default:
True
RANDOM_DELAY_IN_RUN - Random Delay at Startup
Defines the range of random delay applied to each session before starting the bot. This helps to start each session separately rather than simultaneously.
- Example:
[0, 120]
- Default:
[0, 500]
RANDOM_UPDATE_ACCESS_TOKEN - Access Token Update Frequency
Randomly choose how frequent Access Token will be updating depending of tap cycle count
- Example:
[2, 4]
- Default:
[2, 4]
📕 Session
For each session, you should create a json file in sessinos/
folder with your auth data (detailed instruction will be below in Full Guide how to get this data).
Supported proxy
formats: scheme://hostname:port, scheme://user:password@hostname:port, or leave it blank: ""
{
"init_data": "user=%7B%22first_name%22%3A%22%F0%9F%90%A4%22last_name%22%3A%22%22%2C%22username%22%3A%22%22%2C%22language_code%22%3A%22ru%22%7D&chat_instance=233190&chat_type=group&start_param=752&auth_date=1728501985&hash=6251751a478778e6c2dd",
"telegram_id": 345683417,
"referrer": "34583417",
"access_token": "eyJhbGciOidfgdfgdfsDSF5cCI6IkpXVCJ9.eyJ0ZWxlZ3JhbretdGSRgdV9pZCI6NzUyNjgz9uIjoxNzI4NTIzNjM3LjIzMzI5MX0.mZ9Kl_H7WqKjFDghhsa5wesef",
"UserAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1",
"proxy": "",
"clicks_range": [
491,
500
],
"lastUpdated": [
"08-10-2024 00:48:53",
1728337733
]
}
Note
session_example
is example session names.
Not yet tested how quick init_data
will be expired, so keep in mind that probably you will need to updated it sometimes (1 time a week?) with access token
- To install the libraries on Windows, run
INSTALL.bat
orinstall.sh
on Linux. - To start the bot, use
START.bat
(or in the console: python main.py) if you use Windows orstart.sh
on Linux.
Before you start, make sure you have the following installed:
- Python version 3.10 or 3.11.
- For
TG_BOT_TOKEN
api go to Telegram and get it from Bot Father. - How to get
CHAT_ID
will be show in Full Guide
You can clone the Repository to your system and installing the required dependencies:
~ >>> git clone https://github.com/qt333/GangstaMonkeyBot.git
~ >>> cd GangstaMonkeyBot
# Linux
~/GangstaMonkeyBot >>> python3 -m venv venv
~/GangstaMonkeyBot >>> source venv/bin/activate
~/GangstaMonkeyBot >>> pip3 install -r requirements.txt
~/GangstaMonkeyBot >>> cp .env-example .env
~/GangstaMonkeyBot >>> nano .env # Enter your TG_BOT_TOKEN and CHAT_ID
~/GangstaMonkeyBot >>> python3 main.py
# Windows
~/GangstaMonkeyBot >>> python -m venv venv
~/GangstaMonkeyBot >>> venv\Scripts\activate
~/GangstaMonkeyBot >>> pip install -r requirements.txt
~/GangstaMonkeyBot >>> copy .env-example .env
~/GangstaMonkeyBot >>> # Open the .env file and enter your TG_BOT_TOKEN and CHAT_ID
~/GangstaMonkeyBot >>> python main.py
Tip
To install as a Linux service for background operation of the bot, see here.
USDT/DOGS/HMSTR/NOT (TON): UQDyUVl29oSatC-oQeTYKb7gz6EljcmmUvzr2J0unEsP1o0c