|
@@ -21,14 +21,10 @@ jsonshort=$(cat <<EOF
|
|
|
},
|
|
},
|
|
|
"title": "${servername}",
|
|
"title": "${servername}",
|
|
|
"url": "",
|
|
"url": "",
|
|
|
- "description": "${alertemoji} ${alerttitle} ${alertemoji}",
|
|
|
|
|
|
|
+ "description": "${alertemoji} ${alerttriggermessage}",
|
|
|
"color": "${alertcolourdec}",
|
|
"color": "${alertcolourdec}",
|
|
|
"thumbnail": {
|
|
"thumbnail": {
|
|
|
"url": "${alerticon}"
|
|
"url": "${alerticon}"
|
|
|
- },
|
|
|
|
|
- "footer": {
|
|
|
|
|
- "text": "Powered by LinuxGSM ${version}",
|
|
|
|
|
- "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg"
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|