Spaces:
Paused
Paused
Delete README.md
Browse files
README.md
DELETED
|
@@ -1,126 +0,0 @@
|
|
| 1 |
-
<img src="https://graph.org/file/cd2b471f3474d69740df5.jpg" alt="logo" target="/blank">
|
| 2 |
-
|
| 3 |
-
<h1 align="center">
|
| 4 |
-
<b><a href="https://t.me/Madflix_Bots" target="/blank"> File Sharing Bot </a></>
|
| 5 |
-
</h1>
|
| 6 |
-
|
| 7 |
-
<p align="center">🩵 Thanks for Being Here 🩵</p>
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
### CONFIGS VARIABLES
|
| 11 |
-
|
| 12 |
-
* `API_HASH` Your API Hash from my.telegram.org
|
| 13 |
-
* `APP_ID` Your API ID from my.telegram.org
|
| 14 |
-
* `BOT_TOKEN` Your bot token from @BotFather
|
| 15 |
-
* `OWNER_ID` Must enter Your Telegram Id
|
| 16 |
-
* `FILE_AUTO_DELETE` File auto delete, value in seconds
|
| 17 |
-
* `CHANNEL_ID` Your Channel ID eg:- -100xxxxxxxx
|
| 18 |
-
* `DB_URL` Your mongo db url
|
| 19 |
-
* `DB_NAME` Your mongo db session name
|
| 20 |
-
* `ADMINS` Optional: A space separated list of user_ids of Admins, they can only create links
|
| 21 |
-
* `START_MESSAGE` Optional: start message of bot, use HTML and <a href='https://github.com/JishuDeveloper/File-Sharing-Bot/blob/main/README.md#start_message'>fillings</a>
|
| 22 |
-
* `FORCE_SUB_MESSAGE`Optional:Force sub message of bot, use HTML and Fillings
|
| 23 |
-
* `FORCE_SUB_CHANNEL` Optional: ForceSub Channel ID, leave 0 if you want disable force sub
|
| 24 |
-
* `PROTECT_CONTENT` Optional: True if you need to prevent files from forwarding
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
### EXTRA VARIABLES
|
| 29 |
-
|
| 30 |
-
* `CUSTOM_CAPTION` put your Custom caption text if you want Setup Custom Caption, you can use HTML and <a href='https://github.com/JishuDeveloper/File-Sharing-Bot/blob/main/README.md#custom_caption'>fillings</a> for formatting (only for documents)
|
| 31 |
-
* `DISABLE_CHANNEL_BUTTON` Put True to Disable Channel Share Button, Default if False
|
| 32 |
-
* `BOT_STATS_TEXT` put your custom text for stats command, use HTML and <a href='https://github.com/JishuDeveloper/File-Sharing-Bot/blob/main/README.md#custom_stats'>fillings</a>
|
| 33 |
-
* `USER_REPLY_TEXT` put your text to show when user sends any message, use HTML
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
### DEPLOYEMENT SUPPORT
|
| 38 |
-
|
| 39 |
-
<summary>Deploy To Koyeb</summary>
|
| 40 |
-
<p>
|
| 41 |
-
<br>
|
| 42 |
-
<a target="/blank" href="https://app.koyeb.com/deploy?type=git&repository=github.com/JishuDeveloper/File-Sharing-Bot&branch=main&name=file-sharing-bot" >
|
| 43 |
-
<img src="https://www.koyeb.com/static/images/deploy/button.svg" alt="Deploy">
|
| 44 |
-
</a>
|
| 45 |
-
</p>
|
| 46 |
-
|
| 47 |
-
<summary>Deploy To Heroku</summary>
|
| 48 |
-
<p>
|
| 49 |
-
<br>
|
| 50 |
-
<a href="https://heroku.com/deploy?template=https://github.com/JishuDeveloper/File-Sharing-Bot">
|
| 51 |
-
<img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy">
|
| 52 |
-
</a>
|
| 53 |
-
</p>
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
### FEATURES
|
| 58 |
-
- Fully customisable.
|
| 59 |
-
- Auto Delete Added.
|
| 60 |
-
- 3 Branch Available.
|
| 61 |
-
- main Branch Means 1 force subs.
|
| 62 |
-
- 2-force-subs Means 2 force subs.
|
| 63 |
-
- 4-force-subs Means 4 force subs.
|
| 64 |
-
- Customisable welcome & Forcesub messages.
|
| 65 |
-
- More than one Posts in One Link.
|
| 66 |
-
- Can be deployed on heroku directly.
|
| 67 |
-
- Deploy to Koyeb + Heroku + Railway.
|
| 68 |
-
- Developer Service 24x7.
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
### SETUP
|
| 73 |
-
|
| 74 |
-
- Add the bot to Database Channel with all permission
|
| 75 |
-
- Add bot to ForceSub channel as Admin with Invite Users via Link Permission if you enabled ForceSub
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
### FILLINGS
|
| 79 |
-
#### START_MESSAGE | FORCE_SUB_MESSAGE
|
| 80 |
-
|
| 81 |
-
* `{first}` - User first name
|
| 82 |
-
* `{last}` - User last name
|
| 83 |
-
* `{id}` - User ID
|
| 84 |
-
* `{mention}` - Mention the user
|
| 85 |
-
* `{username}` - Username
|
| 86 |
-
|
| 87 |
-
#### CUSTOM_CAPTION
|
| 88 |
-
|
| 89 |
-
* `{filename}` - file name of the Document
|
| 90 |
-
* `{previouscaption}` - Original Caption
|
| 91 |
-
|
| 92 |
-
#### CUSTOM_STATS
|
| 93 |
-
|
| 94 |
-
* `{uptime}` - Bot Uptime
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
### ALL COMMANDS
|
| 98 |
-
|
| 99 |
-
```
|
| 100 |
-
start - start the bot or get posts
|
| 101 |
-
batch - create link for more than one posts
|
| 102 |
-
genlink - create link for one post
|
| 103 |
-
id - To check user id
|
| 104 |
-
users - view bot statistics
|
| 105 |
-
broadcast - broadcast any messages to bot users
|
| 106 |
-
stats - checking your bot uptime
|
| 107 |
-
```
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
### ❤️ RESPECTING ❤️
|
| 112 |
-
- [JishuDeveloper](https://github.com/JishuDeveloper)
|
| 113 |
-
- [Madflix Official](https://github.com/jishusinha)
|
| 114 |
-
|
| 115 |
-
### 😍 BOTS CHANNEL 😍
|
| 116 |
-
- [Madflix Botz](https://t.me/Madflix_Bots)
|
| 117 |
-
- [Jishu Botz](https://t.me/JishuBotz)
|
| 118 |
-
|
| 119 |
-
### 💕 CONTACT DEVELOPER 💕
|
| 120 |
-
- [Jishu Developer](https://t.me/JishuDeveloper)
|
| 121 |
-
- [Madflix Official](https://t.me/MadflixOfficials)
|
| 122 |
-
|
| 123 |
-
### ☕ BUY ME A COFFEE ☕
|
| 124 |
-
- [PayPal](https://paypal.me/jishudeveloper/2.50USD)
|
| 125 |
-
- [PhonePe](https://graph.org/file/6822df5af3a2e80637172.jpg)
|
| 126 |
-
- [UPI](https://graph.org/file/b831109be4acff5c966d2.jpg)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|