Actualizar robot.js

This commit is contained in:
2026-02-20 13:58:48 +00:00
parent 2ee7ce86c1
commit c8fa40b988

View File

@@ -329,7 +329,7 @@ async function runHomeserve(ownerId, user, pass, gremiosDB) {
const txt = cells[1].querySelector('textarea')?.value || ""; const txt = cells[1].querySelector('textarea')?.value || "";
const cleanDesc = txt.split('\n').filter(line => { const cleanDesc = txt.split('\n').filter(line => {
const l = line.toUpperCase(); const l = line.toUpperCase();
return !["CAMBIO DE ESTADO", "ESTADO ASIGNADO", "SMS NO ENVIADO", "CONTACTO CON PROF", "0000"].some(b => l.includes(b)); return !["CAMBIO DE ESTADO", "ESTADO ASIGNADO", "SMS NO ENVIADO", "Cobro banco", "Servicio asignado a", "importe para este asegurado", "CONTACTO CON PROF", "0000"].some(b => l.includes(b));
}).slice(0, 3).join('\n').trim(); }).slice(0, 3).join('\n').trim();
d['Descripción'] = cleanDesc; d['Descripción'] = cleanDesc;
} else if (k.length > 1 && v.length > 0 && !k.includes("MENU")) { } else if (k.length > 1 && v.length > 0 && !k.includes("MENU")) {