Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abirhasan2005/pyrofilesstorebot
This is Telegram Files Store Bot by @AbirHasan2005
https://github.com/abirhasan2005/pyrofilesstorebot
bot database files store telegram-bot
Last synced: 2 days ago
JSON representation
This is Telegram Files Store Bot by @AbirHasan2005
- Host: GitHub
- URL: https://github.com/abirhasan2005/pyrofilesstorebot
- Owner: AbirHasan2005
- Created: 2021-03-02T07:16:43.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-04T09:58:38.000Z (7 months ago)
- Last Synced: 2025-01-12T08:06:53.917Z (9 days ago)
- Topics: bot, database, files, store, telegram-bot
- Language: Python
- Homepage: https://t.me/MediasStoreBot
- Size: 93.8 KB
- Stars: 215
- Watchers: 9
- Forks: 684
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PyroFilesStoreBot
This is Telegram Parmanent Files Store Bot by [@AbirHasan2005](https://github.com/AbirHasan2005).* **Language:** [Python3](https://www.python.org)
* **Library:** [Pyrogram](https://docs.pyrogram.org)### Features:
- In PM Just Forward or Send any file it will save on Database & give you the Access Link.
- In Channel Add Bot as Admin with Edit Rights. When you will send any file or media in Channel it will Edit the Broadcast Message with Saved Link Button.
- You can also Broadcast anythings via this Bot.
- You can also Do Force Sub to a Channel to allow access the Bot.
- Save Multiple Files in Same Link. (Batch)## Configs:
- `API_ID` - Get this from [@TeleORG_Bot](https://t.me/TeleORG_Bot)
- `API_HASH` - Get this from [@TeleORG_Bot](https://t.me/TeleORG_Bot)
- `BOT_TOKEN` - Get this from [@BotFather](https://t.me/BotFather)
- `BOT_USERNAME` - You Bot Username. *(Without [@])*
- `DB_CHANNEL` - A Telegram Channel ID.
- Make a Channel for Storing Files. We will use that as Database. Channel must be Private! Else you will be Copyright by [Telegram DMCA](https://t.me/dmcatelegram)!
- `BOT_OWNER` - Bot Owner UserID
- Put your Telegram UserID for doing Broadcast.
- `DATABASE_URL` - MongoDB Database URI
- This for Saving UserIDs. When you will Broadcast, bot will forward the Broadcast to DB Users.
- `UPDATES_CHANNEL` - Force Sub Channel ID *(Optional)*
- ID of a Channel which you want to do Force Sub to use the bot.
- `LOG_CHANNEL` - Logs Channel ID
- This for some getting user info. If any new User added to DB, Bot will send Log to that Logs Channel. You can use same DB Channel ID.
- `FORWARD_AS_COPY` - Value should be `True` or `False` *(Optional)*
- If `True` all messages will be forwarder *As Copy*. If `False` all messages will be forwarder with Forward Tag.
- `BROADCAST_AS_COPY` - Value should be `True` or `False` *(Optional)*
- Broadcast with Forward Tag or as Copy.*(Without Forward Tag)*
- `BANNED_USERS` - Banned unwanted members
- Put all banned user IDs & Separate with space.
- `BANNED_CHAT_IDS` - All Banned Channel IDs *(Optional)*
- Put all banned channel IDs & Separate with space.### Video Tutorial:
[![YouTube](https://img.shields.io/badge/YouTube-Video%20Tutorial-red?logo=youtube)](https://youtu.be/hHu2RaePhwI)### Deploy Now:
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/AbirHasan2005/PyroFilesStoreBot)## Commands:
```
start - start the bot
clear_batch - Clear User Batch Files
status - Show number of users in DB [Owner Only]
broadcast - Broadcast replied message to DB Users [Owner Only]
ban_user - [user_id] [ban_duration] [ban_reason] Ban Any User [Owner Only]
unban_user - [user_id] Unban Any User [Owner Only]
banned_users - Get All Banned Users [Owner Only]
```### Follow on: