Sfoglia il codice sorgente

Corrected alert variables

Daniel Gibbs 9 anni fa
parent
commit
fabc5157e7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lgsm/functions/alert_discord.sh

+ 1 - 1
lgsm/functions/alert_discord.sh

@@ -5,4 +5,4 @@
 # Website: https://gameservermanagers.com
 # Description: Sends Discord alert including the server status.
 
-curl -X POST --data '{ "embeds": [{"title": "${pbalertsubject}", "url": "https://example.com", "description": "${pbalertbody}", "type": "link", "thumbnail": {"url": "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/images/logo/lgsm-square-184-dark.png"}}] }' -H "Content-Type: application/json" "${discordwebhook}"
+curl -X POST --data '{ "embeds": [{"title": "${alertsubject}", "url": "https://example.com", "description": "${alertbody}", "type": "link", "thumbnail": {"url": "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/images/logo/lgsm-square-184-dark.png"}}] }' -H "Content-Type: application/json" "${discordwebhook}"