Răsfoiți Sursa

fix(alert): correct discord avatar from png to jpg (#3410)

Daniel Gibbs 5 ani în urmă
părinte
comite
4c9ea848a0
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      lgsm/functions/alert_discord.sh

+ 2 - 2
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}",