// code from goatstore // api: https://store.agi.bd const axios = require("axios"); const fs = require("fs-extra"); const path = require("path"); module.exports = { config: { name: "owner", version: "1.0", author: "๐—๐’๐˜ ๐’๐‡๐€๐๐“๐Ž", countDown: 5, role: 0, shortDescription: "Show owner info", longDescription: "Show owner information", category: "info", guide: "{pn}", aliases: ["infoowner", "ownerinfo"] }, onStart: async function ({ message }) { const ownerInfo = ` โ•ญโ”€ ๐Ÿ‘‘ Oแดกษดแด‡ส€ Iษดา“แด ๐Ÿ‘‘ โ”€โ•ฎ โ”‚ ๐Ÿ‘ค Nแด€แดแด‡ : ๐—ฆ๐—”๐— ๐—œ ๐—•๐—›๐—”๐—œ โ”‚ ๐Ÿงธ Nษชแด„แด‹ : ๐—๐’๐˜ ๐—ฆ๐—”๐— ๐—œ โ”‚ ๐ŸŽ‚ Aษขแด‡ : ๐Ÿฎ๐Ÿญ+ โ”‚ ๐Ÿ’˜ Rแด‡สŸแด€แด›ษชแดษด : ๐—ž๐—˜๐—ช ๐—ก๐—”๐—œ๐Ÿ˜ข โ”‚ ๐ŸŽ“ Pส€แดา“แด‡ssษชแดษด : ๐—ฆ๐—ง๐—จ๐——๐—˜๐—ก๐—ง โ”‚ ๐Ÿ“š Eแด…แดœแด„แด€แด›ษชแดษด : ๐—›๐—ข๐—ก๐—ข๐—จ๐—ฅ๐—ฆ ๐Ÿฎ๐—ก๐—— โ”‚ ๐Ÿก Lแดแด„แด€แด›ษชแดษด : ๐——๐—›๐—”๐—ž๐—” - ๐—š๐—จ๐—Ÿ๐—ฆ๐—›๐—”๐—ก โ”œโ”€ ๐Ÿ”— Cแดษดแด›แด€แด„แด› โ”€โ•ฎ โ”‚ ๐Ÿ“˜ Facebook : SAMI AHMED โ”‚ ๐Ÿ’ฌ Messenger: https://m.me/sami.ahmed.721296 โ”‚ ๐Ÿ“ž WhatsApp : wa.me/01823714382 โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€`; const imgUrl = "https://files.catbox.moe/w06hy7.jpg"; const imgPath = path.join(__dirname, "cache", "owner.jpg"); try { const res = await axios.get(imgUrl, { responseType: "arraybuffer" }); await fs.ensureDir(path.dirname(imgPath)); await fs.writeFile(imgPath, res.data); return message.reply({ body: ownerInfo, attachment: fs.createReadStream(imgPath) }); } catch { return message.reply(ownerInfo); } } };