浏览代码

move gamename

Daniel Gibbs 4 年之前
父节点
当前提交
46d153a4f5
共有 1 个文件被更改,包括 14 次插入14 次删除
  1. 14 14
      lgsm/functions/alert_slack.sh

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