Skip to content

Commit

Permalink
update var
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Jan 7, 2025
1 parent 66f9be1 commit 39c7813
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lgsm/modules/alert_discord.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ json=$(
},
{
"name": "Is my Game Server Online?",
"value": "https://ismygameserver.online/${querytype}/${alertip}:${queryport}",
"value": "https://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}",
"inline": true
}
],
Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/alert_gotify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ EOF
if [ -n "${querytype}" ]; then
json+=$(
cat << EOF
Is my Game Server Online?\nhttps://ismygameserver.online/${querytype}/${alertip}:${queryport}\n\n
Is my Game Server Online?\nhttps://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}\n\n
EOF
)
fi
Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/alert_ifttt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ EOF
if [ -n "${querytype}" ]; then
json+=$(
cat << EOF
Is my Game Server Online?\nhttps://ismygameserver.online/${querytype}/${alertip}:${queryport}\n\n
Is my Game Server Online?\nhttps://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}\n\n
EOF
)
fi
Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/alert_pushbullet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ EOF
if [ -n "${querytype}" ]; then
json+=$(
cat << EOF
Is my Game Server Online?\nhttps://ismygameserver.online/${querytype}/${alertip}:${queryport}\n\n
Is my Game Server Online?\nhttps://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}\n\n
EOF
)
fi
Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/alert_pushover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fi
message=" <b>Server name</b><br>${servername}<br><br><b>Information</b><br>${alertmessage}<br><br><b>Game</b><br>${gamename}<br><br><b>Server IP</b><br>${alertip}:${port}<br><br><b>Hostname</b><br>${HOSTNAME}<br><br>"

if [ -n "${querytype}" ]; then
message+="<b>Is my Game Server Online?</b><br><a href='https://ismygameserver.online/${querytype}/${alertip}:${queryport}'>Check here</a><br><br>"
message+="<b>Is my Game Server Online?</b><br><a href='https://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}'>Check here</a><br><br>"
fi

if [ -n "${alerturl}" ]; then
Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/alert_rocketchat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ if [ -n "${querytype}" ]; then
{
"short": false,
"title": "Is my Game Server Online?",
"value": "<https://ismygameserver.online/${querytype}/${alertip}:${queryport}|Check here>"
"value": "<https://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}|Check here>"
},
EOF
)
Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/alert_slack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ if [ -n "${querytype}" ]; then
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Is my Game Server Online?*\n<https://ismygameserver.online/${querytype}/${alertip}:${queryport}|Check here>"
"text": "*Is my Game Server Online?*\n<https://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}|Check here>"
}
},
EOF
Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/alert_telegram.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ EOF
if [ -n "${querytype}" ]; then
json+=$(
cat << EOF
<b>Is my Game Server Online?</b>\n<a href='https://ismygameserver.online/${querytype}/${alertip}:${queryport}'>Check here</a>\n\n
<b>Is my Game Server Online?</b>\n<a href='https://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}'>Check here</a>\n\n
EOF
)
fi
Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/command_dev_query_raw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ echo -e "QUERY PORT: ${queryport}"
echo -e ""
echo -e "${lightgreen}Is My Game Server Online?${default}"
fn_messages_separator
echo -e "Game server status: https://ismygameserver.online/${querytype}/${queryip}:${queryport}"
echo -e "Game server status: https://ismygameserver.online/${imgsoquerytype}/${queryip}:${queryport}"
echo -e ""
echo -e "${lightgreen}Gamedig Raw Output${default}"
fn_messages_separator
Expand Down

0 comments on commit 39c7813

Please sign in to comment.