Skip to content

Commit 4c9ea84

Browse files
authored
fix(alert): correct discord avatar from png to jpg (#3410)
1 parent 0068857 commit 4c9ea84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lgsm/functions/alert_discord.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ fi
1515
json=$(cat <<EOF
1616
{
1717
"username":"LinuxGSM",
18-
"avatar_url":"https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.png",
18+
"avatar_url":"https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg",
1919
"file":"content",
2020
"embeds": [{
2121
"color": "2067276",
2222
"author": {
2323
"name": "${alertemoji} ${alertsubject} ${alertemoji}",
24-
"icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.png"
24+
"icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.jpg"
2525
},
2626
"title": "${servername}",
2727
"description": "${alertbody} \n More info: ${alerturl}",

0 commit comments

Comments
 (0)