Skip to content

Commit 3da00c7

Browse files
committed
Update
1 parent 5847735 commit 3da00c7

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.env.example

-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ SSH_PORT=22
4343
# true | false
4444
API_ENABLE=true
4545

46-
# api documentation
47-
API_DOCS=false
48-
4946
# Secret key for your tokens
5047
API_SECRET=S@CrET
5148

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ If you don't have node.js installed on your server, install it with nvm
9999
| `CHECK_IPS_FOR_UNBAN_USERS` | Every x minutes it checks all ips, if they are in prison for more than the time specified in `BAN_TIME`, they will be unbanned. e.g: 1 |
100100
| `SSH_PORT` | Enter your ssh port in this section. 22 is set by default |
101101

102+
#### Telegram bot configuration
103+
104+
| Parameter | Description |
105+
| :-------- | :------------------------- |
106+
| `TG_ENABLE` | If you want to use Telegram bot for logs, set this value to `true` |
107+
| `TG_TOKEN` | The bot token you received from @botfather |
108+
| `TG_ADMIN` | Your user ID that you received from @userinfobot |
102109

103110
## users.json
104111
You can set specific users in the users.json file

0 commit comments

Comments
 (0)