Skip to content

Lack of information on how to block API output. #6

Description

@alexanderITK

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*')
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions