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

+ 1 - 1
lgsm/functions/alert.sh

@@ -99,7 +99,7 @@ if [ -n "${appid}" ]; then
 else
 	alertimage="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/gameheaders/${shortname}-header.jpg"
 fi
-alerticon="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/gameicons/${shortname}-icon.jpg"
+alerticon="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/gameicons/${shortname}-icon.png"
 
 # Allow Alert to display gamedig info if available.
 if [ "${querystatus}" != "0" ]; then

+ 1 - 1
lgsm/functions/alert_discord.sh

@@ -55,7 +55,7 @@ json=$(cat <<EOF
 				}
 			],
 			"thumbnail": {
-				"url": "https://linuxgsm.com/wp-content/uploads/2020/07/minecraft-bedrock-icon.jpg"
+				"url": "${alerticon}"
 			},
 			"image": {
 				"url": "${alertimage}"