feat: implement automated job cleanup, update notification presets, and upgrade Baileys library

This commit is contained in:
2026-07-21 21:12:29 -03:00
parent aac53e13cc
commit 98f0ec3102
8 changed files with 388 additions and 35 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ async function startServer() {
}
try {
const jid = number.endsWith("@s.whatsapp.net") ? number : `${number}@s.whatsapp.net`;
await sock.sendMessage(jid, { text: message, ephemeralExpiration: 0 });
await sock.sendMessage(jid, { text: message });
res.json({ success: true });
} catch (err) {
console.error("Send error:", err);