|
|
@ -25,8 +25,10 @@ class Discord extends NotificationProvider {
|
|
|
|
let url;
|
|
|
|
let url;
|
|
|
|
|
|
|
|
|
|
|
|
switch (monitorJSON["type"]) {
|
|
|
|
switch (monitorJSON["type"]) {
|
|
|
|
case "port":
|
|
|
|
case "dns":
|
|
|
|
case "ping":
|
|
|
|
case "ping":
|
|
|
|
|
|
|
|
case "port":
|
|
|
|
|
|
|
|
case "steam":
|
|
|
|
url = monitorJSON["hostname"];
|
|
|
|
url = monitorJSON["hostname"];
|
|
|
|
if (monitorJSON["port"]) {
|
|
|
|
if (monitorJSON["port"]) {
|
|
|
|
url += ":" + monitorJSON["port"];
|
|
|
|
url += ":" + monitorJSON["port"];
|
|
|
|