Skip to content

Commit 3f3d3f3

Browse files
authored
Update README.md
1 parent 35c0043 commit 3f3d3f3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,10 @@ Example:
143143

144144
### The bot can use 'Safelist' to restrict access for users or groups.
145145
- Make sure you have these variables in your `.env` file either not set or with ids.
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 the user's ID to the `ALLOWED_USERNAMES` variable
146+
- You can get your `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. All 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 the user's ID to the `ALLOWED_USERNAMES` variable.
149+
- If you want a bot in your Group Chat with restrictions, leave `ALLOWED_CHAT_IDS` empty and define the `ALLOWED_USERNAMES` variable list.
149150
```
150151
LIMIT_BOT_ACCESS=False --- If True, the bot will only work for users in ALLOWED_USERNAMES or ALLOWED_CHAT_IDS
151152
ALLOWED_USERNAMES= --- list of allowed usernames as strings separated by commas

0 commit comments

Comments
 (0)