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" alertsound="1"
alerttriggermessage="${selfname} has stopped." alerttriggermessage="${selfname} has stopped."
# Red # Red
alertcolourhex="#cdcd00" alertcolourhex="#cd0000"
alertcolourdec="13487360" alertcolourdec="13434880"
} }
fn_alert_restart(){ fn_alert_restart(){

2
lgsm/functions/alert_discord.sh

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

Loading…
Cancel
Save