|
@@ -119,7 +119,7 @@ elif [ "${discordalert}" != "on" ]&&[ "${function_selfname}" == "command_test_al
|
|
|
fn_script_log_warn "Discord alerts not enabled"
|
|
fn_script_log_warn "Discord alerts not enabled"
|
|
|
elif [ -z "${discordtoken}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
|
|
elif [ -z "${discordtoken}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
|
|
|
fn_print_error_nl "Discord token not set"
|
|
fn_print_error_nl "Discord token not set"
|
|
|
- echo " * https://github.com/GameServerManagers/LinuxGSM/wiki/Discord"
|
|
|
|
|
|
|
+ echo " * https://docs.linuxgsm.com/alerts/discord"
|
|
|
fn_script_error_warn "Discord token not set"
|
|
fn_script_error_warn "Discord token not set"
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
@@ -140,7 +140,7 @@ elif [ "${iftttalert}" != "on" ]&&[ "${function_selfname}" == "command_test_aler
|
|
|
fn_script_log_warn "IFTTT alerts not enabled"
|
|
fn_script_log_warn "IFTTT alerts not enabled"
|
|
|
elif [ -z "${ifttttoken}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
|
|
elif [ -z "${ifttttoken}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
|
|
|
fn_print_error_nl "IFTTT token not set"
|
|
fn_print_error_nl "IFTTT token not set"
|
|
|
- echo " * https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT"
|
|
|
|
|
|
|
+ echo " * https://docs.linuxgsm.com/alerts/ifttt"
|
|
|
fn_script_error_warn "IFTTT token not set"
|
|
fn_script_error_warn "IFTTT token not set"
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
@@ -151,7 +151,7 @@ elif [ "${mailgunalert}" != "on" ]&&[ "${function_selfname}" == "command_test_al
|
|
|
fn_script_log_warn "Mailgun alerts not enabled"
|
|
fn_script_log_warn "Mailgun alerts not enabled"
|
|
|
elif [ -z "${mailguntoken}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
|
|
elif [ -z "${mailguntoken}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
|
|
|
fn_print_error_nl "Mailgun token not set"
|
|
fn_print_error_nl "Mailgun token not set"
|
|
|
- echo " * https://github.com/GameServerManagers/LinuxGSM/wiki/Mailgun"
|
|
|
|
|
|
|
+ echo " * https://docs.linuxgsm.com/alerts/mailgun"
|
|
|
fn_script_error_warn "Mailgun token not set"
|
|
fn_script_error_warn "Mailgun token not set"
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
@@ -162,7 +162,7 @@ elif [ "${pushbulletalert}" != "on" ]&&[ "${function_selfname}" == "command_test
|
|
|
fn_script_log_warn "Pushbullet alerts not enabled"
|
|
fn_script_log_warn "Pushbullet alerts not enabled"
|
|
|
elif [ -z "${pushbullettoken}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
|
|
elif [ -z "${pushbullettoken}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
|
|
|
fn_print_error_nl "Pushbullet token not set"
|
|
fn_print_error_nl "Pushbullet token not set"
|
|
|
- echo " * https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet"
|
|
|
|
|
|
|
+ echo " * https://docs.linuxgsm.com/alerts/pushbullet"
|
|
|
fn_script_error_warn "Pushbullet token not set"
|
|
fn_script_error_warn "Pushbullet token not set"
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
@@ -173,7 +173,7 @@ elif [ "${pushoveralert}" != "on" ]&&[ "${function_selfname}" == "command_test_a
|
|
|
fn_script_log_warn "Pushover alerts not enabled"
|
|
fn_script_log_warn "Pushover alerts not enabled"
|
|
|
elif [ -z "${pushovertoken}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
|
|
elif [ -z "${pushovertoken}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
|
|
|
fn_print_error_nl "Pushover token not set"
|
|
fn_print_error_nl "Pushover token not set"
|
|
|
- echo " * https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover"
|
|
|
|
|
|
|
+ echo " * https://docs.linuxgsm.com/alerts/pushover"
|
|
|
fn_script_error_warn "Pushover token not set"
|
|
fn_script_error_warn "Pushover token not set"
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
@@ -184,10 +184,10 @@ elif [ "${telegramalert}" != "on" ]&&[ "${function_selfname}" == "command_test_a
|
|
|
fn_script_log_warn "Telegram Messages not enabled"
|
|
fn_script_log_warn "Telegram Messages not enabled"
|
|
|
elif [ -z "${telegramtoken}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
|
|
elif [ -z "${telegramtoken}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
|
|
|
fn_print_error_nl "Telegram token not set."
|
|
fn_print_error_nl "Telegram token not set."
|
|
|
- echo " * https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram"
|
|
|
|
|
|
|
+ echo " * https://docs.linuxgsm.com/alerts/telegram"
|
|
|
fn_script_error_warn "Telegram token not set."
|
|
fn_script_error_warn "Telegram token not set."
|
|
|
elif [ -z "${telegramchatid}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
|
|
elif [ -z "${telegramchatid}" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then
|
|
|
fn_print_error_nl "Telegram chat id not set."
|
|
fn_print_error_nl "Telegram chat id not set."
|
|
|
- echo " * https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram"
|
|
|
|
|
|
|
+ echo " * https://docs.linuxgsm.com/alerts/telegram"
|
|
|
fn_script_error_warn "Telegram chat id not set."
|
|
fn_script_error_warn "Telegram chat id not set."
|
|
|
fi
|
|
fi
|