|
@@ -11,14 +11,14 @@ jsoninfo=$(
|
|
|
cat << EOF
|
|
cat << EOF
|
|
|
{
|
|
{
|
|
|
"username": "LinuxGSM",
|
|
"username": "LinuxGSM",
|
|
|
- "avatar_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${datadir}/alert_discord_logo.jpg",
|
|
|
|
|
|
|
+ "avatar_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg",
|
|
|
"file": "content",
|
|
"file": "content",
|
|
|
"embeds": [
|
|
"embeds": [
|
|
|
{
|
|
{
|
|
|
"author": {
|
|
"author": {
|
|
|
"name": "LinuxGSM Alert",
|
|
"name": "LinuxGSM Alert",
|
|
|
"url": "",
|
|
"url": "",
|
|
|
- "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${datadir}/alert_discord_logo.jpg"
|
|
|
|
|
|
|
+ "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg"
|
|
|
},
|
|
},
|
|
|
"title": "${alerttitle}",
|
|
"title": "${alerttitle}",
|
|
|
"url": "",
|
|
"url": "",
|
|
@@ -64,7 +64,7 @@ jsoninfo=$(
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
"footer": {
|
|
"footer": {
|
|
|
- "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${datadir}/alert_discord_logo.jpg",
|
|
|
|
|
|
|
+ "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg",
|
|
|
"text": "Sent by LinuxGSM ${version}"
|
|
"text": "Sent by LinuxGSM ${version}"
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -77,14 +77,14 @@ jsonnoinfo=$(
|
|
|
cat << EOF
|
|
cat << EOF
|
|
|
{
|
|
{
|
|
|
"username": "LinuxGSM",
|
|
"username": "LinuxGSM",
|
|
|
- "avatar_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${datadir}/alert_discord_logo.jpg",
|
|
|
|
|
|
|
+ "avatar_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg",
|
|
|
"file": "content",
|
|
"file": "content",
|
|
|
"embeds": [
|
|
"embeds": [
|
|
|
{
|
|
{
|
|
|
"author": {
|
|
"author": {
|
|
|
"name": "LinuxGSM Alert",
|
|
"name": "LinuxGSM Alert",
|
|
|
"url": "",
|
|
"url": "",
|
|
|
- "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${datadir}/alert_discord_logo.jpg"
|
|
|
|
|
|
|
+ "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg"
|
|
|
},
|
|
},
|
|
|
"title": "${alerttitle}",
|
|
"title": "${alerttitle}",
|
|
|
"url": "",
|
|
"url": "",
|
|
@@ -125,7 +125,7 @@ jsonnoinfo=$(
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
"footer": {
|
|
"footer": {
|
|
|
- "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${datadir}/alert_discord_logo.jpg",
|
|
|
|
|
|
|
+ "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg",
|
|
|
"text": "Sent by LinuxGSM ${version}"
|
|
"text": "Sent by LinuxGSM ${version}"
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|