Skip to content

Commit 8527fbc

Browse files
authored
Update README.md
1 parent bb4f7a1 commit 8527fbc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,10 @@ Example:
142142
- Full list of supported sites here: [yt-dlp Supported Sites](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)
143143

144144
### The bot can use 'white lists' to restrict access for users or groups.
145-
- Make sure you have these variables in your .env file either not set or with relatives id's.
146-
- You can find chat_id or user_id by setting LIMIT_BOT_ACCESS=True first, send a link and the bot will answer you with the IDs.
145+
- Make sure you have these variables in your `.env` file either not set or with relatives id's.
146+
- You can find chat_id or user_id by setting LIMIT_BOT_ACCESS=True first, send a link and the bot will answer you with the IDs.
147+
- Group Chat has more priority. Users in the Group Chat can use the bot but have no access to the bot privately.
148+
- When `LIMIT_BOT_ACCESS=True` to use the bot in private messages add user's ID to `ALLOWED_USERNAMES` variable
147149
```
148150
LIMIT_BOT_ACCESS=False --- If True, the bot will only work for users in ALLOWED_USERNAMES or ALLOWED_CHAT_IDS
149151
ALLOWED_USERNAMES= --- list of allowed usernames as strings separated by commas

0 commit comments

Comments
 (0)