File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -142,8 +142,10 @@ Example:
142
142
- Full list of supported sites here: [ yt-dlp Supported Sites] ( https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md )
143
143
144
144
### 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
147
149
```
148
150
LIMIT_BOT_ACCESS=False --- If True, the bot will only work for users in ALLOWED_USERNAMES or ALLOWED_CHAT_IDS
149
151
ALLOWED_USERNAMES= --- list of allowed usernames as strings separated by commas
You can’t perform that action at this time.
0 commit comments