https://github.com/ShivangKakkar/DeleteAllBot
https://github.com/ShivangKakkar/DeleteAllBot
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ShivangKakkar/DeleteAllBot
- Owner: ShivangKakkar
- Created: 2021-12-31T20:29:41.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-14T07:38:28.000Z (over 1 year ago)
- Last Synced: 2025-02-09T00:02:50.173Z (3 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 15
- Watchers: 1
- Forks: 36
- 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
[](https://github.com/ellerbrock/open-source-badges/)
## Deployment
### Deploy to Heroku
[](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
[](http://makeapullrequest.com)
## Support
Channel :- [@StarkBots](https://t.me/StarkBots)
Group Chat :- [@StarkBotsChat](https://t.me/StarkBotsChat)
## :)
[](https://www.python.org/)
[](https://github.com/StarkBotsIndustries)
[](https://github.com/StarkBotsIndustries)