You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ sudo systemctl status insta-bot.service
81
81
82
82
Alternatively, you can use Docker.
83
83
84
-
Edit `.env` file with the your secrets and run container.
84
+
Edit `.env` file with your secrets and run the container.
85
85
86
86
```
87
87
docker build . -t insta-bot:latest
@@ -146,13 +146,13 @@ Example:
146
146
147
147
### The bot can use 'Safelist' to restrict access for users or groups.
148
148
- 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.
150
150
- 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.
151
151
- When `LIMIT_BOT_ACCESS=True` to use the bot in private messages add the username to the `ALLOWED_USERNAMES` variable.
152
152
- 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
0 commit comments