Skip to content

HithaishiDesai/TG-Message-Delete-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AUTO DELETE BOT

Delete group messages after a specific time INCLUDING MESSAGES FROM BOTS

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) EXAMPLE : -1001274443179
  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 ADMIN in Groups

Deploy in Heroku

Deploy

Deploy in your VPS

git clone https://github.com/HithaishiDesai/Auto-Delete-Bot/tree/MODIFIED
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