Skip to content

Commit 6507b39

Browse files
authored
Update README.md
1 parent 171f480 commit 6507b39

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ sudo systemctl status insta-bot.service
8181

8282
Alternatively, you can use Docker.
8383

84-
Edit `.env` file with the your secrets and run container.
84+
Edit `.env` file with your secrets and run the container.
8585

8686
```
8787
docker build . -t insta-bot:latest
@@ -146,13 +146,13 @@ Example:
146146

147147
### The bot can use 'Safelist' to restrict access for users or groups.
148148
- Make sure you have these variables in your `.env` file either not set or with chat ID and username.
149-
- You can get your `chat_id` or `username` by setting `LIMIT_BOT_ACCESS=True` first, send a link and the bot will answer you with the chat ID and with your username.
149+
- You can get your `chat_id` or `username` by setting `LIMIT_BOT_ACCESS=True` first, send a link and the bot will answer you with the chat ID and username.
150150
- Allowed Group Chat priority is highest. All users in the Group Chat can use the bot even if they have no access to the bot in private chat.
151151
- When `LIMIT_BOT_ACCESS=True` to use the bot in private messages add the username to the `ALLOWED_USERNAMES` variable.
152152
- If you want a bot in your Group Chat with restrictions, leave `ALLOWED_CHAT_IDS` empty and define the `ALLOWED_USERNAMES` variable list.
153-
```
154-
LIMIT_BOT_ACCESS=False --- If True, the bot will only work for users in ALLOWED_USERNAMES or ALLOWED_CHAT_IDS
155-
ALLOWED_USERNAMES= --- list of allowed usernames as strings separated by commas. Example: ALLOWED_USERNAMES=username1,username2,username3
156-
ALLOWED_CHAT_IDS= --- list of allowed chat IDs as strings separated by commas. Example: ALLOWED_CHAT_IDS=12349,12345,123456
153+
```ini
154+
LIMIT_BOT_ACCESS=False # If True, the bot will only work for users in ALLOWED_USERNAMES or ALLOWED_CHAT_IDS
155+
ALLOWED_USERNAMES= # a list of allowed usernames as strings separated by commas. Example: ALLOWED_USERNAMES=username1,username2,username3
156+
ALLOWED_CHAT_IDS= # a list of allowed chat IDs as strings separated by commas. Example: ALLOWED_CHAT_IDS=12349,12345,123456
157157
```
158158
---

0 commit comments

Comments
 (0)