Daniel Gibbs
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
lgsm/functions/alert_discord.sh
|
|
@ -15,13 +15,13 @@ fi |
|
|
|
json=$(cat <<EOF |
|
|
|
{ |
|
|
|
"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", |
|
|
|
"embeds": [{ |
|
|
|
"color": "2067276", |
|
|
|
"author": { |
|
|
|
"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}", |
|
|
|
"description": "${alertbody} \n More info: ${alerturl}", |
|
|
|