Browse Source

more changes

pull/3051/head
Daniel Gibbs 5 years ago
parent
commit
811d52b89d
  1. 3
      lgsm/functions/alert_discord.sh
  2. 1
      lgsm/functions/alert_slack.sh

3
lgsm/functions/alert_discord.sh

@ -23,11 +23,10 @@ json=$(cat <<EOF
"name": "${alertemoji} ${alertsubject} ${alertemoji}",
"icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.png"},
"title": "${servername}",
"description": "${alertbody}",
"description": "${alertbody} \n More info: ${alerturl}",
"url": "",
"type": "content",
"thumbnail": {},
"footer": {"text": "Hostname: ${HOSTNAME} / More info: ${alerturl}", "icon_url": ""},
"fields": [
{
"name": "Game",

1
lgsm/functions/alert_slack.sh

@ -15,7 +15,6 @@ json=$(cat <<EOF
{
"attachments": [
{
"color": "#36a64f",
"blocks": [
{
"type": "section",

Loading…
Cancel
Save