Discord notifications¶
Send notifications to a Discord channel using an incoming webhook.
Configuration¶
File
notif:
discord:
webhookURL: https://discord.com/api/webhooks/1234567890/token
mentions:
- "<@123>"
renderEmbeds: true
renderFields: true
timeout: 10s
Environment variables
FTPGRAB_NOTIF_DISCORD_WEBHOOKURLFTPGRAB_NOTIF_DISCORD_WEBHOOKURLFILEFTPGRAB_NOTIF_DISCORD_MENTIONS(comma separated)FTPGRAB_NOTIF_DISCORD_RENDEREMBEDSFTPGRAB_NOTIF_DISCORD_RENDERFIELDSFTPGRAB_NOTIF_DISCORD_TIMEOUTFTPGRAB_NOTIF_DISCORD_PROXYFTPGRAB_NOTIF_DISCORD_TLSSKIPVERIFYFTPGRAB_NOTIF_DISCORD_TLSCACERTFILES(comma separated)
| Name | Default | Description |
|---|---|---|
webhookURL |
Discord incoming webhook URL | |
webhookURLFile |
Secret file used when webhookURL is unset |
|
mentions |
Users or roles to notify | |
renderEmbeds |
true |
Render a message embed |
renderFields |
true |
Include server and destination fields in the embed |
timeout |
10s |
Timeout for each HTTP request |
proxy |
HTTP proxy URL to use for requests | |
tlsSkipVerify |
false |
Skip TLS certificate verification |
tlsCaCertFiles |
Custom CA PEM files (replace system roots) |