diff --git a/src/index.js b/src/index.js index 4600025..1757df4 100644 --- a/src/index.js +++ b/src/index.js @@ -153,6 +153,11 @@ async function main(data) { sendMessage("[INFO]: Einsatdepesche wird Gedruckt - " + data.title, messageIDs); } + if (data.title.includes("Probealarm")) { + sendMessage("[INFO]: Einsatdepesche abgebrochen", messageIDs); + return; + } + callWebhooks(); const filePath = cacheFolder + data.foreign_id + ".pdf";