Daniel Gibbs 4 лет назад
Родитель
Сommit
39fcc1c6c2
1 измененных файлов с 1 добавлено и 5 удалено
  1. 1 5
      lgsm/functions/alert_discord.sh

+ 1 - 5
lgsm/functions/alert_discord.sh

@@ -21,14 +21,10 @@ jsonshort=$(cat <<EOF
 			},
 			},
 			"title": "${servername}",
 			"title": "${servername}",
 			"url": "",
 			"url": "",
-			"description": "${alertemoji} ${alerttitle} ${alertemoji}",
+			"description": "${alertemoji} ${alerttriggermessage}",
 			"color": "${alertcolourdec}",
 			"color": "${alertcolourdec}",
 			"thumbnail": {
 			"thumbnail": {
 				"url": "${alerticon}"
 				"url": "${alerticon}"
-			},
-			"footer": {
-				"text": "Powered by LinuxGSM ${version}",
-				"icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg"
 			}
 			}
 		}
 		}
 	]
 	]