drmhdh / AutoDelete-1

https://telegram.me/arun_tg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AutoDelete

Telegram bot to delete messages after specific time AutoDelete

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 Pyrogram Session
  5. CHATS : ID of Chats (seperate by spaces)
  6. TIME : Time in seconds
  7. DATABASE_URI : MongoDB URI, get from mongodb.com (watch video)
  8. WHITE_LIST : messages from these users will not be deleted (User ID seperated by spaces) - Optional
  9. BLACK_LIST : only message from these users will be deleted (User ID seperated by spaces) - Optional

Make sure:

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

Deployment

Koyeb
deploy-to-koyeb
Remember to create variables
Railway
deploy-to-railway
VPS Install latest version of Python Create variables approximately
git clone https://github.com/arun017s/AutoDelete
cd AutoDelete
pip3 install -r requirements.txt
python3 main.py

Support

Join in our Support Group for help & feedback
Telegram Telegram

Note

🌠 Star & Fork the repo
⚠️ Kangers stay back

Disclaimer

GNU General Public License v3.0
Licensed under GNU GPL v3.0
Selling The Codes To Other People For Money Is Strictly Prohibited.

About

https://telegram.me/arun_tg

License:GNU General Public License v3.0


Languages

Language:Python 99.7%Language:Procfile 0.3%