Skip to content

Commit 59c09ce

Browse files
authored
Update README.md
1 parent eb1da75 commit 59c09ce

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ I Guess This Will Be Usefull For Many People.....😇.
3838

3939
### Setup
4040

41-
- Add the bot to channels with admin permission, and thats it!
41+
- Add the bot to Database Channel with all permission
42+
- Add bot to ForceSub channel as Admin with Invite Users via Link Permission if you enabled ForceSub
4243

4344
##
4445
### Installation
@@ -51,7 +52,7 @@ I Guess This Will Be Usefull For Many People.....😇.
5152
**Thanks to [Erich](https://t.me/ErichDaniken) and his [InFoTel](https://t.me/InFoTel_Group) for this Video**
5253

5354
#### Deploy in your VPS
54-
```
55+
```bash
5556
git clone https://github.com/CodeXBotz/File-Sharing-Bot
5657
cd File-Sharing-Bot
5758
pip3 install -r requirements.txt
@@ -63,9 +64,11 @@ python3 main.py
6364
### Admin Commands
6465

6566
```
66-
start -start the bot or get posts
67+
/start - start the bot or get posts
68+
69+
/batch - create link for more than one posts
6770
68-
batch -create link for more than one posts
71+
/genlink - create link for one post
6972
7073
```
7174

@@ -76,9 +79,9 @@ batch -create link for more than one posts
7679
* `TG_BOT_TOKEN` Your bot token from @BotFather
7780
* `OWNER_ID` Must enter Your Telegram Id
7881
* `CHANNEL_ID` Your Channel ID eg:- -100xxxxxxxx
79-
* `ADMINS` A space separated list of user_ids of Admins, they can only create links
80-
* `START_MESSAGE ` Optional: start message of bot, use HTML parsemode format
81-
82+
* `ADMINS` Optional: A space separated list of user_ids of Admins, they can only create links
83+
* `START_MESSAGE` Optional: start message of bot, use HTML parsemode format
84+
* `FORCE_SUB_CHANNEL` Optional: ForceSub Channel ID, leave 0 if you want disable force sub
8285

8386
## Support
8487
Join Our [Telegram Group](https://www.telegram.dog/codexbotzsupport) For Support/Assistance And Our [Channel](https://www.telegram.dog/codexbotz) For Updates.
@@ -88,7 +91,8 @@ Report Bugs, Give Feature Requests There..
8891
### Credits
8992

9093
- Thanks To Dan For His Awsome [Libary](https://github.com/pyrogram/pyrogram)
91-
- [codeXbotz™️](t.me/codexbotz)
94+
- Our Support Group Members
95+
9296
### Licence
9397
[![GNU GPLv3 Image](https://www.gnu.org/graphics/gplv3-127x51.png)](http://www.gnu.org/licenses/gpl-3.0.en.html)
9498

0 commit comments

Comments
 (0)