diff --git a/lgsm/functions/alert.sh b/lgsm/functions/alert.sh index fbd601243..bdd7d8653 100644 --- a/lgsm/functions/alert.sh +++ b/lgsm/functions/alert.sh @@ -43,6 +43,7 @@ fn_alert_test(){ fn_alert_stopping(){ fn_script_log_info "Sending alert: Stopping" + alerttype="short" alerttitle="Alert - ${selfname} - Stopping" alertemoji="🟡" alertsound="1" @@ -54,6 +55,7 @@ fn_alert_stopping(){ fn_alert_stopped(){ fn_script_log_info "Sending alert: Stopped" + alerttype="short" alerttitle="Alert - ${selfname} - Stopped" alertemoji="🔴" alertsound="1" diff --git a/lgsm/functions/alert_discord.sh b/lgsm/functions/alert_discord.sh index e64d85d27..533e2afd4 100755 --- a/lgsm/functions/alert_discord.sh +++ b/lgsm/functions/alert_discord.sh @@ -7,6 +7,35 @@ functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" +jsonshort=$(cat <