diff --git a/lgsm/modules/alert.sh b/lgsm/modules/alert.sh index 9df13a874..88150d842 100644 --- a/lgsm/modules/alert.sh +++ b/lgsm/modules/alert.sh @@ -112,13 +112,13 @@ fn_alert_update() { # Update failure alert fn_alert_update_failed() { # Expect updatefailureexpected (target version) and updatefailuregot (actual localbuild) if set - local expected="${updatefailureexpected:-${remotebuild:-unknown}}" - local got="${updatefailuregot:-${localbuild:-unknown}}" - fn_script_log_error "Sending alert: ${selfname} update failed: expected ${expected}, got ${got}" + local updateexpected="${updatefailureexpected:-${remotebuild:-unknown}}" + local updategot="${updatefailuregot:-${localbuild:-unknown}}" + fn_script_log_error "Sending alert: ${selfname} update failed: expected ${updateexpected}, got ${updategot}" alertaction="Update Failed" alertemoji="❌" alertsound="2" - alertmessage="${selfname} update failed: expected ${expected}, got ${got}. Manual intervention required." + alertmessage="${selfname} update failed: expected ${updateexpected}, got ${updategot}. Manual intervention required." # Red alertcolourhex="#cd0000" alertcolourdec="13434880" diff --git a/lgsm/modules/alert_discord.sh b/lgsm/modules/alert_discord.sh index bd8e8b58c..f73329e70 100644 --- a/lgsm/modules/alert_discord.sh +++ b/lgsm/modules/alert_discord.sh @@ -57,7 +57,6 @@ if [ -n "${querytype}" ]; then { "name": "Is my Game Server Online?", "value": "https://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}", - "inline": true } EOF )