Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
484 B
1
Indexable
Never
const configs = require("../../configs");
const axios = require("axios");

async function qt(){
    let qoute = await axios.get("https://animechan.vercel.app/api/random").then((response) => { return response.data[0] }).catch((err) => { return "err "});
    return qoute
}
module.exports = async (matches, event, api, extra) => {
    let rqt = await qt();
        api.sendMessage(rqt.quote + "\n\n-By " + rqt.character " From " + rqt.anime,event.threadID,event.messageID);
};