ifttt formatting

This commit is contained in:
Daniel Gibbs 2021-10-17 11:22:48 +01:00
parent 46d153a4f5
commit f65560877f
No known key found for this signature in database
GPG Key ID: 2EBB36015C6D78E2
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ json=$(cat <<EOF
{
"value1": "${selfname}",
"value2": "${alertemoji} ${alerttitle} ${alertemoji}",
"value3": "Server name<br>${servername}<br><br>Trigger Message<br>${alerttriggermessage}<br><br>Game<br>${gamename}<br><br>${alertplayerstitle}<br>${alertplayers}<br><br>Map<br>${alertmap}<br><br>Server IP<br>${alertip}:${port}<br><br>Hostname<br>${HOSTNAME}<br><br>More info<br>${alertmoreinfourl}"
"value3": "<b>Server name</b><br>${servername}<br><br><b>Trigger Message</b><br>${alerttriggermessage}<br><br><b>Game</b><br>${gamename}<br><br><b>Current Players</b><br>${alertplayers}<br><br><b>Map</b><br>${alertmap}<br><br><b>Server IP</b><br>${alertip}:${port}<br><br><b>Hostname</b><br>${HOSTNAME}<br><br><b>Version</b><br>${alertversion}<br><br><b>More Info</b><br>${alertmoreinfourl}"
}
EOF
)

View File

@ -34,7 +34,7 @@ json=$(cat <<EOF
},
{
"type": "mrkdwn",
"text": "*${gamename}*"
"text": "${gamename}"
}
]
},