// code from goatstore // api: https://store.agi.bd const axios = require("axios"); module.exports = { config: { name: "hentai", aliases: [], version: "1.0.0", author: "šŒššš‘š®š…", countDown: 5, role: 2, shortDescription: "Random image", longDescription: "Random hentai image", category: "18+", guide: "{pn}" }, onStart: async function ({ api, event }) { try { const url = "https://xalman-apis.vercel.app/api/hentai"; const response = await axios.get(url, { responseType: "arraybuffer", timeout: 30000 }); const image = Buffer.from(response.data); await api.sendMessage( { body: "✨ Here's your image ✨\n\nšŸ–¼ļø Enjoy the view!", attachment: image }, event.threadID, event.messageID ); } catch (error) { console.error("PICS ERROR:", error.message); await api.sendMessage("āŒ | Failed to fetch image", event.threadID, event.messageID); } } };