It would be interesting to have a way to block the API from generating an output.
ranm = getRandom('')
try {
reply(mess.wait)
await dlAudio({
url: `${args[0]}`,
folder: "./ytdl",
filename: `${ranm}`,
quality: "best",
log: false,
});
buffer = `../ytdl/${ranm}.mp3`
const videomess = await sock.sendMessage(from, { audio: buffer, mimetype: 'audio/mp4'})
} catch (err) {
console.log(err)
reply('*ERRO*')
}
It would be interesting to have a way to block the API from generating an output.