Show hostname:port for gamedig monitor on Discord notification (#3643)

This commit is contained in:
Lior Slakman 2023-08-26 21:24:33 +03:00 committed by GitHub
parent 4da1341aa5
commit c0e273df5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,7 @@ class Discord extends NotificationProvider {
break; break;
case "port": case "port":
case "dns": case "dns":
case "gamedig":
case "steam": case "steam":
address = monitorJSON["hostname"]; address = monitorJSON["hostname"];
if (monitorJSON["port"]) { if (monitorJSON["port"]) {