|
|
@@ -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": [
|