diff --git a/src/index.js b/src/index.js index 4193fd7..844e768 100644 --- a/src/index.js +++ b/src/index.js @@ -89,7 +89,7 @@ if (config.activate_telegram) { switch (msg.text) { - case "/chatid": + case "/chatid": try { bot.sendMessage(chatId, "Deine Chat ID ist: " + chatId); } catch (err) { @@ -192,7 +192,7 @@ async function main(data) { await callWebhooks(data.title); - if (data.title.includes("Probealarm")) { + if (data.title.includes("Probealarm") || data.title.includes("TH") || data.title.includes("ELW") || data.title.includes("Drehleiter")) { sendMessage("[INFO]: Einsatdepesche abgebrochen", messageIDs); return; }