Browse Source

move gamename

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

28
lgsm/functions/alert_slack.sh

@ -24,6 +24,20 @@ json=$(cat <<EOF
}
]
},
{
"type": "context",
"elements": [
{
"type": "image",
"image_url": "${alerticon}",
"alt_text": "${alerticonalt}"
},
{
"type": "mrkdwn",
"text": "*${gamename}*"
}
]
},
{
"type": "header",
"text": {
@ -44,20 +58,6 @@ json=$(cat <<EOF
"alt_text": "${alertimagealt}"
}
},
{
"type": "context",
"elements": [
{
"type": "image",
"image_url": "${alerticon}",
"alt_text": "${alerticonalt}"
},
{
"type": "mrkdwn",
"text": "*${gamename}*"
}
]
},
{
"type": "section",
"fields": [

Loading…
Cancel
Save