From 7147d53a52c4e10173fe580214b172d53bc2d119 Mon Sep 17 00:00:00 2001 From: cheetah Date: Thu, 22 Jun 2023 21:30:40 +0200 Subject: [PATCH] fixed missing replacement for UNWETTERWARNUNG --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index a719547..59ccaa6 100644 --- a/index.js +++ b/index.js @@ -111,6 +111,7 @@ async function checkDWD() { : 0 //console.log(msgLevelTrigger, 'is the trigger level for', msgCategory) if (msgLevel >= msgLevelTrigger) { } else continue // ignore the stuff we want to ignore + msg = msg.replace('DWD UNWETTERWARNUNG:', 'DWD:') msg = msg.replace('DWD WETTERWARNUNG:', 'DWD:') msg = msg.replace(' in ', ' ') msg = msg.replace(' von ', '/')