Cover dns and steam types in Discord notifs

pull/1471/head
jordanbertasso 2 years ago
parent 1b1e0f6dd9
commit 2638d68c97

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

Loading…
Cancel
Save