Feature | Supported |
---|---|
Multithreading | β |
Proxy binding to session | β |
User-Agent binding to session | β |
Support pyrogram .session | β |
Registration in bot | β |
Auto-tasks | β |
Daily rewards | β |
Settings | Description |
---|---|
API_ID / API_HASH | Platform data from which to run the Telegram session (by default - android) |
SLEEP_TIME | Sleep time between cycles (by default - [7200, 10800]) |
START_DELAY | Delay between sessions at start (by default - [5, 25]) |
AUTO_TASK | Auto tasks (default - True) |
JOIN_CHANNELS | Auto-join for tg channels tasks (default - True) |
CLAIM_REWARD | Claim daily reward |
To fast install libraries and run bot - open run.bat on Windows or run.sh on Linux
Before you begin, make sure you have the following installed:
You can download the repository by cloning it to your system and installing the necessary dependencies:
git clone https://github.com/vadymfedorets/CatsvsDogs
Then you can do automatic installation by typing:
Windows:
run.bat
Linux:
run.sh
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
# Windows manual installation
```shell
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
### Usages
When you first launch the bot, create a session for it using the 'Creates a session' command. It will create a 'sessions' folder in which all accounts will be stored, as well as a file accounts.json with configurations.
If you already have sessions, simply place them in a folder 'sessions' and run the clicker. During the startup process you will be able to configure the use of a proxy for each session.
User-Agent is created automatically for each account.
Here is an example of what accounts.json should look like:
```shell
[
{
"session_name": "name_example",
"user_agent": "Mozilla/5.0 (Linux; Android 14) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.165 Mobile Safari/537.36",
"proxy": "type://user:pass:ip:port" # "proxy": "" - if you dont use proxy
}
]