https://github.com/mrtg-codebot/photo-saver-bot
https://github.com/mrtg-codebot/photo-saver-bot
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mrtg-codebot/photo-saver-bot
- Owner: MrTG-CodeBot
- License: gpl-3.0
- Created: 2024-05-17T13:38:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-18T16:56:04.000Z (about 2 years ago)
- Last Synced: 2024-05-19T17:49:13.621Z (about 2 years ago)
- Language: Python
- Size: 3.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
## If the repo has any error send the message to

## Credits
## Language
[](https://docs.pyrogram.org/)
[](https://www.python.org/)
## License
[](https://github.com/master-code-r/coder/blob/main/LICENSE)
## Features
- [x] It can save photo that sended by user.
- [x] It get the count of users photo.
- [x] List your saved photos.
- [x] Delete a specific photo. reply to the photo that you have sended.
- [x] Delete all your saved photos.
## Variables
### Required Variables
* `BOT_TOKEN`: Create a bot using [@BotFather](https://telegram.dog/BotFather), and get the Telegram API token.
* `API_ID`: Get this value from [telegram.org](https://my.telegram.org/apps)
* `API_HASH`: Get this value from [telegram.org](https://my.telegram.org/apps)
* `ADMINS`: Username or ID of Admin. Separate multiple Admins by space
* `DATABASE_URI`: [mongoDB](https://www.mongodb.com) URI. Get this value from [mongoDB](https://www.mongodb.com).
* `DATABASE_NAME`: Name of the database in [mongoDB](https://www.mongodb.com). For more help watch this
* `PIC_LOG_CHANNEL` : A channel to log the activities of bot. Make sure bot is an admin in the channel.
## CMD
```
* /start - to check the bot is alive or not.
* /stats - to get the details.
* /pics - List your saved photos.
* /del_one - Delete a specific photo. reply to the photo that you have sended.
* /del_many - Delete all your saved photos.
* /broadcast - to broadcast a message to all bot users
```