|
26 | 26 | Telegram Bot to store Posts and Documents and it can Access by Special Links. |
27 | 27 | I Guess This Will Be Usefull For Many People.....😇. |
28 | 28 |
|
29 | | -## |
30 | | - |
31 | | -**If you need any more modes in repo or If you find out any bugs, mention in [@codexbotzsupport ](https://www.telegram.dog/codexbotzsupport)** |
32 | | - |
33 | | -**Make sure to see [contributing.md](https://github.com/CodeXBotz/File-Sharing-Bot/blob/main/CONTRIBUTING.md) for instructions on contributing to the project!** |
34 | | - |
35 | | - |
36 | 29 |
|
37 | 30 | ### Features |
38 | 31 | - Fully customisable. |
39 | 32 | - Customisable welcome & Forcesub messages. |
40 | 33 | - More than one Posts in One Link. |
41 | 34 | - Can be deployed on heroku directly. |
| 35 | +- Protect Content to Prevent Forwarding |
| 36 | +- Auto-Delete Files After a Configurable Time |
| 37 | + |
| 38 | +## What’s Next |
42 | 39 |
|
| 40 | +These features are in the pipeline, and contributions from the community are welcome! |
| 41 | + |
| 42 | +- [x] **Channel Join Request** |
| 43 | + Implement a feature that prompts users to join a specified Telegram channel before accessing the bot's functionalities. |
| 44 | + |
| 45 | + |
| 46 | +### How to Contribute |
| 47 | +1. Check the [contribution guidelines](https://github.com/CodeXBotz/File-Sharing-Bot/blob/main/CONTRIBUTING.md) for detailed instructions. |
| 48 | +2. Pick any feature and create a new issue or comment on an existing one. |
| 49 | +3. Discuss your implementation plan with maintainers to align your contributions with project goals. |
| 50 | + |
| 51 | +We encourage all developers to contribute ideas, report bugs, and share improvements. Together, we can make this project even better! 🚀 |
| 52 | + |
| 53 | + |
43 | 54 | ### Setup |
44 | 55 |
|
45 | 56 | - Add the bot to Database Channel with all permission |
@@ -100,19 +111,24 @@ python3 main.py |
100 | 111 | * `OWNER_ID` Must enter Your Telegram Id |
101 | 112 | * `CHANNEL_ID` Your Channel ID eg:- -100xxxxxxxx |
102 | 113 | * `DATABASE_URL` Your mongo db url |
103 | | -* `DATABASE_NAME` Your mongo db session name |
104 | 114 | * `ADMINS` Optional: A space separated list of user_ids of Admins, they can only create links |
105 | 115 | * `START_MESSAGE` Optional: start message of bot, use HTML and <a href='https://github.com/codexbotz/File-Sharing-Bot/blob/main/README.md#start_message'>fillings</a> |
| 116 | +* `START_PIC` Optional: URL or file path of the image to be sent as the start message |
106 | 117 | * `FORCE_SUB_MESSAGE`Optional:Force sub message of bot, use HTML and Fillings |
107 | 118 | * `FORCE_SUB_CHANNEL` Optional: ForceSub Channel ID, leave 0 if you want disable force sub |
108 | 119 | * `PROTECT_CONTENT` Optional: True if you need to prevent files from forwarding |
| 120 | +* `AUTO_DELETE_TIME ` Set the time in seconds for automatic file deletion. Default is False, which disables auto-deletion. |
| 121 | +* `JOIN_REQUEST_ENABLED` Optional: Set to "True" to enable join request for the channel. Default is "False". |
109 | 122 |
|
110 | 123 | ### Extra Variables |
111 | 124 |
|
| 125 | +* `AUTO_DELETE_MSG` put your custom deletion text if you want Setup Custom deletion messaeg, |
| 126 | +* `AUTO_DEL_SUCCESS_MSG` Set your custom success message for when the file is successfully deleted |
112 | 127 | * `CUSTOM_CAPTION` put your Custom caption text if you want Setup Custom Caption, you can use HTML and <a href='https://github.com/CodeXBotz/File-Sharing-Bot/blob/main/README.md#custom_caption'>fillings</a> for formatting (only for documents) |
113 | 128 | * `DISABLE_CHANNEL_BUTTON` Put True to Disable Channel Share Button, Default if False |
114 | 129 | * `BOT_STATS_TEXT` put your custom text for stats command, use HTML and <a href='https://github.com/codexbotz/File-Sharing-Bot/blob/main/README.md#custom_stats'>fillings</a> |
115 | 130 | * `USER_REPLY_TEXT` put your text to show when user sends any message, use HTML |
| 131 | +* `DATABASE_NAME` Your mongo db session name |
116 | 132 |
|
117 | 133 |
|
118 | 134 | ### Fillings |
|
0 commit comments