Add Probealarm filter
This commit is contained in:
@@ -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