Skip to content

NEGANTG/AutoDel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoDelete-V2

Delete group messages after a specific time

Variables

  1. API_ID : Get from my.telegram.org
  2. API_HASH : Get from my.telegram.org
  3. BOT_TOKEN : Your telegram bot token from @BotFather
  4. SESSION : Generate from here GenerateStringName
  5. GROUPS : ID of Groups (seperate by spaces)
  6. ADMINS : ID of Admins, messages from admins will not delete (seperate by spaces)
  7. TIME : Time in seconds

Make sure:

  • Bot is admin in Groups with delete permission
  • Account used to create SESSION is a member in Groups

Deploy in Heroku

Deploy

Deploy in your VPS

git clone https://github.com/Arun-TG/AutoDelete-V2
cd AutoDelete-V2
pip3 install -r requirements.txt
# <Create Variables appropriately>
python3 bot.py

Credits

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published