#Recently I received a erro to send messages or seen send
10 messages · Page 1 of 1 (latest)
Having the same issue as well
#general message
Yeah, same
Me too. I suspect the latest whatsapp web update broke it
fix temp:
this.client.on('ready', async () => {
// 🔧 FIX: Desabilitar sendSeen
// Ref: https://github.com/pedroslopez/whatsapp-web.js/issues (Discord discussion)
// Crédito: chatgpt via d3fa4ult (Discord)
try {
const page = this.client.pupPage;
if (page) {
await page.evaluate(() => {
// @ts-ignore - WWebJS é injetado pelo whatsapp-web.js no runtime
if (window.WWebJS && window.WWebJS.sendSeen) {
// Substituir sendSeen por função vazia para evitar erro
// @ts-ignore
window.WWebJS.sendSeen = async () => {};
}
});
}
} catch (error) {
this.logger.warn(`${error.message}`);
}
}
Same here.