Skip to content

Commit

Permalink
fix: discord URL for webhook EN doc
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtheted authored Nov 2, 2024
1 parent d7efa35 commit 6e229a8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions marzban/en/docs/webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ WEBHOOK_SECRET = "something-very-very-secret"

- Now, Marzban will send POST requests to this URL when a specific user event occurs.

- Also, using the following variable, the notification queue is checked every `30` seconds and then sent to the webhook.

- Using the following variable, the notification queue is checked every `30` seconds and then sent to the webhook.
```env
JOB_SEND_NOTIFICATIONS_INTERVAL = 30
```
- Using the variable below, you can specify the Discord `URL` for the webhook.
```env
DISCORD_WEBHOOK_URL = "https://discord.com/api/webhooks/xxxxxxx"
```

## **Step 2: Processing Incoming Notifications**

Expand Down

0 comments on commit 6e229a8

Please sign in to comment.