amiruldev20 / mywajs

wwebjs remake with playwright
https://amiruldev20.github.io/mywajs/
Apache License 2.0
68 stars 50 forks source link

Error when sending .wav file #28

Open gamersindo1223 opened 11 months ago

gamersindo1223 commented 11 months ago

code: await client.sendMessage(message.from, Buffer.from(await axios.get("https://plachta-vits-umamusume-voice-synthesizer.hf.space/file=/tmp/tmpo0uz5qw0/tmpvf0zdly7.wav", {responseType: "arraybuffer"}).then(r=>r.data) Error: page.evaluate: u at Client.sendMessage (/home/container/new-whatsapp-bot/node_modules/mywajs/src/Client.js:1136:45) at async eval (/home/container/new-whatsapp-bot/<anonymous>:1:15) { name: 'Error' }