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}", "name": "${alertemoji} ${alertsubject} ${alertemoji}",
"icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.png"}, "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.png"},
"title": "${servername}", "title": "${servername}",
"description": "${alertbody}", "description": "${alertbody} \n More info: ${alerturl}",
"url": "", "url": "",
"type": "content", "type": "content",
"thumbnail": {}, "thumbnail": {},
"footer": {"text": "Hostname: ${HOSTNAME} / More info: ${alerturl}", "icon_url": ""},
"fields": [ "fields": [
{ {
"name": "Game", "name": "Game",

1
lgsm/functions/alert_slack.sh

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

Loading…
Cancel
Save