An open API service indexing awesome lists of open source software.

https://github.com/mrtg-codebot/photo-saver-bot


https://github.com/mrtg-codebot/photo-saver-bot

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

## If the repo has any error send the message to

## Credits


## Language

[![Pyrogram Version](https://img.shields.io/badge/Pyrogram-2.0.30-orange)](https://docs.pyrogram.org/)
[![Python Version](https://img.shields.io/badge/Python-.10.8-blue)](https://www.python.org/)

## License

[![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-yellow.svg)](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
```