feat: implement automated job cleanup, update notification presets, and upgrade Baileys library
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user