Browse Source

fix(alert): resolve more info missing from discord alert (#4771)

* Fixing missing more Info

* minor bug

---------

Co-authored-by: Hornochs <stephan.schaffner@check24.de>
Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
pull/4488/merge
Stephan Schaffner 1 month ago
committed by GitHub
parent
commit
783db0a175
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      lgsm/modules/alert_discord.sh

7
lgsm/modules/alert_discord.sh

@ -46,6 +46,11 @@ json=$(
"name": "Server Time",
"value": "$(date)",
"inline": true
},
{
"name": "More info",
"value": "${alerturl}",
"inline": true
}
EOF
)
@ -63,7 +68,7 @@ EOF
)
fi
if [ -n "{alerturl}" ]; then
if [ -n "${alerturl}" ]; then
json+=$(
cat << EOF
,

Loading…
Cancel
Save