Browse Source

colours

feature/alerts-refactor
Daniel Gibbs 4 years ago
parent
commit
386366ea37
No known key found for this signature in database GPG Key ID: 2EBB36015C6D78E2
  1. 4
      lgsm/functions/alert.sh
  2. 2
      lgsm/functions/alert_discord.sh

4
lgsm/functions/alert.sh

@ -61,8 +61,8 @@ fn_alert_stopped(){
alertsound="1"
alerttriggermessage="${selfname} has stopped."
# Red
alertcolourhex="#cdcd00"
alertcolourdec="13487360"
alertcolourhex="#cd0000"
alertcolourdec="13434880"
}
fn_alert_restart(){

2
lgsm/functions/alert_discord.sh

@ -46,7 +46,7 @@ json=$(cat <<EOF
},
"title": "${servername}",
"url": "",
"description": "${alertemoji} ${alerttitle} ${alertemoji}",
"description": "${alertemoji} ${alerttitle}",
"color": "${alertcolourdec}",
"fields": [
{

Loading…
Cancel
Save