Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ShivangKakkar/DeleteAllBot
https://github.com/ShivangKakkar/DeleteAllBot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ShivangKakkar/DeleteAllBot
- Owner: ShivangKakkar
- Created: 2021-12-31T20:29:41.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-14T07:38:28.000Z (about 1 year ago)
- Last Synced: 2024-05-19T01:59:54.670Z (6 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 14
- Watchers: 1
- Forks: 35
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- BotList - Delete All Bot - Delete all messages in a group (Telegram Bot List / List of Source Codes)
README
## [Delete All Bot](https://t.me/StarkDeleteAllBot)
> A star ⭐ from you means a lot to me !
#### Telegram bot to delete all messages in a group
[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)
## Deployment
### Deploy to Heroku
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
1. Tap on above button and fill values for needed variables
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
```markdown
git clone https://github.com/StarkBotsIndustries/DeleteAllBot
```
2. Rename `.env.sample` to `.env` and fill values3. Enter the directory
```markdown
cd DeleteAllBot
```
4. Run the file
```markdown
python3 bot.py
```## Environment Variables
#### Mandatory Vars
- `API_ID` - Get this from [my.telegram.org](https://my.telegram.org/auth)
- `API_HASH` - Get this from [my.telegram.org](https://my.telegram.org/auth)
- `BOT_TOKEN` - Get this from [@BotFather](https://t.me/BotFather)
- `SESSION` - Pyrogram String Session. Can be generated using [String Session Generator](https://t.me/StarkStringGenBot)## Credits
- [Dan Tès](https://github.com/delivrance) for his [Pyrogram](https://docs.pyrogram.org) Library
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
## Support
Channel :- [@StarkBots](https://t.me/StarkBots)
Group Chat :- [@StarkBotsChat](https://t.me/StarkBotsChat)
## :)
[![ForTheBadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)
[![ForTheBadge built-with-love](http://ForTheBadge.com/images/badges/built-with-love.svg)](https://github.com/StarkBotsIndustries)
[![ForTheBadge makes-people-smile](http://ForTheBadge.com/images/badges/makes-people-smile.svg)](https://github.com/StarkBotsIndustries)