Daniel Gibbs 4 anos atrás
pai
commit
850694bcc3
2 arquivos alterados com 3 adições e 3 exclusões
  1. 1 1
      lgsm/functions/alert_discord.sh
  2. 2 2
      lgsm/functions/alert_slack.sh

+ 1 - 1
lgsm/functions/alert_discord.sh

@@ -61,7 +61,7 @@ json=$(cat <<EOF
 				"url": "${alertimage}"
 			},
 			"footer": {
-				"text": "Powered by LinuxGSM",
+				"text": "Powered by LinuxGSM ${version}",
 				"icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg"
 			}
 		}

+ 2 - 2
lgsm/functions/alert_slack.sh

@@ -80,7 +80,7 @@ json=$(cat <<EOF
 				},
 				{
 					"type": "mrkdwn",
-					"text": "[${alertip}:${port}"
+					"text": "${alertip}:${port}"
 				},
 				{
 					"type": "mrkdwn",
@@ -113,7 +113,7 @@ json=$(cat <<EOF
 				},
 				{
 					"type": "plain_text",
-					"text": "Powered by LinuxGSM",
+					"text": "Powered by LinuxGSM ${version}",
 					"emoji": true
 				}
 			]