Skip to content

Commit 783db0a

Browse files
HornochsHornochsdgibbs64
authored
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>
1 parent 63d0f81 commit 783db0a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lgsm/modules/alert_discord.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ json=$(
4646
"name": "Server Time",
4747
"value": "$(date)",
4848
"inline": true
49+
},
50+
{
51+
"name": "More info",
52+
"value": "${alerturl}",
53+
"inline": true
4954
}
5055
EOF
5156
)
@@ -63,7 +68,7 @@ EOF
6368
)
6469
fi
6570

66-
if [ -n "{alerturl}" ]; then
71+
if [ -n "${alerturl}" ]; then
6772
json+=$(
6873
cat << EOF
6974
,

0 commit comments

Comments
 (0)