Closed putuoka closed 7 months ago
i just use const reply = msg.reply(response);
sometimes it come with quote like this:
sometimes it come without quote like this:
should appear consistent with or without quotes
const { Client, LocalAuth } = require("whatsapp-web.js"); // Whatsapp Integration global.client = new Client({ authStrategy: new LocalAuth(), puppeteer: { headless: true, args: ["--no-sandbox", "--disable-setuid-sandbox", "--disable-extensions"], }, }); client.on("message", async (msg) => { const reply = msg.reply(response); }
No response
Chromium
Standard
Yes, I am using Multi Device
windows 10 android whatsapp-web.js version 1.22.2-alpha.0
Have you tried to use message.reply using message.id.remote?
message.reply("yourtext", message.id.remote)
EDIT: Actually, I guess it's a real bug.
Message.reply is supposed to quote the replied message
Message.reply
Is there an existing issue for this?
Describe the bug
i just use const reply = msg.reply(response);
sometimes it come with quote like this:
sometimes it come without quote like this:
Expected behavior
should appear consistent with or without quotes
Steps to Reproduce the Bug or Issue
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
windows 10 android whatsapp-web.js version 1.22.2-alpha.0
Additional context
No response