Browse Source

remove servername field

pull/3051/head
Daniel Gibbs 5 years ago
parent
commit
170f8fa1a3
  1. 5
      lgsm/functions/alert_discord.sh
  2. 5
      lgsm/functions/alert_rocketchat.sh
  3. 4
      lgsm/functions/alert_slack.sh

5
lgsm/functions/alert_discord.sh

@ -38,11 +38,6 @@ json=$(cat <<EOF
"name": "Server IP",
"value": "[${alertip}:${port}](https://www.gametracker.com/server_info/${alertip}:${port})",
"inline": true
},
{
"name": "Server Name",
"value": "${servername}",
"inline": true
}
]
}]

5
lgsm/functions/alert_rocketchat.sh

@ -27,11 +27,6 @@ json=$(cat <<EOF
"short": true,
"title": "Server IP:",
"value": "${alertip}:${port}"
},
{
"short": true,
"title": "Players:",
"value": "${gdplayers}/${gdmaxplayers}"
}
]
}

4
lgsm/functions/alert_slack.sh

@ -51,10 +51,6 @@ json=$(cat <<EOF
{
"type": "mrkdwn",
"text": "*Server IP:* \n ${alertip}:${port}"
},
{
"type": "mrkdwn",
"text": "*Server Name:* \n ${servername}"
}
]
},

Loading…
Cancel
Save