- Copy repository to your machine:
git clone https://github.com/InWamos/lead-timeout-responce
- Create virtual environment:
python3 -m venv venv
source venv/bin/activate
- Install dependencies
pip3 install -r requirements.txt
-
Add your .session files to the data/sessions directory
-
Launch bot
python3 ./src/__main__.py
Add User's session
- Edit variables in src/utils/add_user.py and pass your API_ID and API_HASH
- Run the script from project's root dir:
python3 src/utils/add_user.py
- Follow the instructions on terminal
Find broken sessions In case you face Error[401] you might have broken sessions is your session folder. To find them do the following:
- Run the script from project's root directory:
python3 src/utils/find_broken_sessions.py
Script will print you the names of sessions you have to remove