From 2638d68c97d4c06a2d4f2545e4bc2a5b74eef9da Mon Sep 17 00:00:00 2001 From: jordanbertasso <36979824+jordanbertasso@users.noreply.github.com> Date: Tue, 12 Apr 2022 09:52:07 +1000 Subject: [PATCH] Cover dns and steam types in Discord notifs --- server/notification-providers/discord.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/notification-providers/discord.js b/server/notification-providers/discord.js index 39eeef5ab..c5b95c60d 100644 --- a/server/notification-providers/discord.js +++ b/server/notification-providers/discord.js @@ -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"];