Daniel Gibbs hace 4 años
padre
commit
76f6979f1e
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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}"