Parcourir la source

feat: add ismygameserver.online to discord alerts

Daniel Gibbs il y a 1 an
Parent
commit
eef84ba903
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      lgsm/modules/alert_discord.sh

+ 5 - 0
lgsm/modules/alert_discord.sh

@@ -51,6 +51,11 @@ jsoninfo=$(
                     "name": "Hostname",
                     "name": "Hostname",
                     "value": "${HOSTNAME}",
                     "value": "${HOSTNAME}",
                     "inline": true
                     "inline": true
+                },
+                {
+                    "name": "Is my Game Server Online?",
+                    "value": "https://ismygameserver.online/${querytype}/${alertip}:${queryport}",
+                    "inline": true
                 },
                 },
 				{
 				{
 					"name": "More info",
 					"name": "More info",