|
@@ -15,13 +15,13 @@ fi
|
|
|
json=$(cat <<EOF
|
|
json=$(cat <<EOF
|
|
|
{
|
|
{
|
|
|
"username":"LinuxGSM",
|
|
"username":"LinuxGSM",
|
|
|
- "avatar_url":"https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.png",
|
|
|
|
|
|
|
+ "avatar_url":"https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg",
|
|
|
"file":"content",
|
|
"file":"content",
|
|
|
"embeds": [{
|
|
"embeds": [{
|
|
|
"color": "2067276",
|
|
"color": "2067276",
|
|
|
"author": {
|
|
"author": {
|
|
|
"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.jpg"
|
|
|
},
|
|
},
|
|
|
"title": "${servername}",
|
|
"title": "${servername}",
|
|
|
"description": "${alertbody} \n More info: ${alerturl}",
|
|
"description": "${alertbody} \n More info: ${alerturl}",
|