From 9e9d9e3b0a6b0fee66876fdb56b91a06fda940dc Mon Sep 17 00:00:00 2001 From: velvettear Date: Fri, 20 Oct 2023 16:44:26 +0200 Subject: [PATCH] added emoji(s) --- .vscode/launch.json | 2 +- client/client.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 04a4acf..37ba7e3 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -20,7 +20,7 @@ "args": [ "--client", "--yaml", - "/home/velvettear/development/golang/godyn/client-config copy.yml" + "/home/velvettear/public/godyn-client.yml" ], }, ] diff --git a/client/client.go b/client/client.go index 1094008..98e66bb 100644 --- a/client/client.go +++ b/client/client.go @@ -163,6 +163,7 @@ func updateDyndns() { } else if strings.Contains(body, "nochg") { msg = "dyndns was not updated because remote/wan ip did not change" log.WarningTimed(msg, timestamp, "response: '"+body+"'") + notification.Emoji = "yellow_circle" } else { msg = "dyndns was updated successfully" log.InfoTimed(msg, timestamp, "response: '"+strings.TrimSpace(string(bytes))+"'")