Add Probealarm filter
This commit is contained in:
1 parent
fccbf89399
commit
a3461dee61
1 file changed
+5
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user