Преглед на файлове

feat: add ismygameserver.online to discord alerts

Daniel Gibbs преди 1 година
родител
ревизия
eef84ba903
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5 0
      lgsm/modules/alert_discord.sh

+ 5 - 0
lgsm/modules/alert_discord.sh

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