Bläddra i källkod

updated discord urls again

Daniel Gibbs 8 år sedan
förälder
incheckning
82ffc819da
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      lgsm/functions/alert_discord.sh

+ 3 - 3
lgsm/functions/alert_discord.sh

@@ -13,13 +13,13 @@ json=$(cat <<EOF
 
 "embeds": [{
 	"color": "2067276",
-	"author": {"name": "${alertemoji} ${alertsubject} ${alertemoji}", "icon_url": "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/images/logo/lgsm-dark-square-512.png"},
+	"author": {"name": "${alertemoji} ${alertsubject} ${alertemoji}", "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.png"},
 	"title": "",
 	"description": "",
 	"url": "",
 	"type": "content",
-	"thumbnail": {"url": "https://github.com/${githubuser}/${githubrepo}/${githubbranch}/data/alert_discord_logo.png"},
-	"footer": {"text": "LinuxGSM", "icon_url": "https://github.com/${githubuser}/${githubrepo}/${githubbranch}/data/alert_discord_logo.png"},
+	"thumbnail": {"url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.png"},
+	"footer": {"text": "LinuxGSM", "icon_url": "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/data/alert_discord_logo.png"},
 	"fields": [
 			{
 				"name": "Alert Message",