Skip to content

Pyrogram userbot to automatically respond to user's interaction

License

Notifications You must be signed in to change notification settings

InWamos/lead-timeout-responce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lead-timeout-responce

Installation Guide

  1. Copy repository to your machine:
git clone https://github.com/InWamos/lead-timeout-responce
  1. Create virtual environment:
python3 -m venv venv
source venv/bin/activate
  1. Install dependencies
pip3 install -r requirements.txt
  1. Add your .session files to the data/sessions directory

  2. Launch bot

python3 ./src/__main__.py

Utils Guide

Add User's session

  1. Edit variables in src/utils/add_user.py and pass your API_ID and API_HASH
  2. Run the script from project's root dir: python3 src/utils/add_user.py
  3. 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:

  1. 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

About

Pyrogram userbot to automatically respond to user's interaction

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published