/DeleteEventsBot

Telegram bot to delete service messages in group by merely adding in group.

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

Delete Events Bot

A star ⭐ from you means a lot to us!

Telegram bot to delete service messages in groups.

Open Source Love svg1

Table of Contents
  1. Usage
  2. Environment Variables
  3. Functions
  4. To-Do
  5. Stats
  6. License
  7. Contributing
  8. Credits
  9. Support

Usage

Deploy to Heroku

Deploy

  1. Tap on above button and fill API_ID, API_HASH, BOT_TOKEN. Alternatively fill OWNER_ID and OWNER_NAME. Note : Fill both or leave both unless bot won't work.
  2. Then tap "Deploy App" below it. Wait till deploying is complete (will take atmost 2 minutes).
  3. After deploying is complete, tap on "Manage App"
  4. Check the logs to see if your bot is ready!

Local Deploying

  1. Clone the repo

    git clone https://github.com/MysteryBots/DeleteEventsBot
  2. Edit Config.py and fill the needed variables by following this

  3. Enter the directory

    cd DeleteEventsBot
  4. Run the file

    python3 delevents.py

Environment Variables

Mandatory Vars

Optional Vars

(fill both or neither)

  • OWNER_ID - Get it from @MissMiley_bot by sending /id to it.
  • OWNER_NAME - Your Name (to be shown as owner in bot)

Functions

More features soon, this is an minimal example :)

  1. Delete Telegram Service Messages like "joined", "left", "pinned", etc.
  2. Specify owner's account to get help or something.

To-Do

That's on you mainly...

  1. Add DB to specify what to delete and what not to.
  2. Show owner his/her bot's stats.

Stats

GitHub forks GitHub stars GitHub watchers Maintenance

License

License: AGPL v3

Contributing

GitHub contributors

Contributions are heartily accepted.

PRs Welcome

Credits

Support

Channel :- @MysteryBots

Group Chat :- @MysteryBotsChat

:)

forthebadge made-with-python

ForTheBadge built-with-love

ForTheBadge makes-people-smile