const fs = require("fs-extra"); const path = require("path"); module.exports = { config: { name: "owner", version: "1.5.0", author: "Hamza", role: 0, shortDescription: "Owner information with image", category: "Information", guide: { en: "owner" } }, onStart: async function ({ api, event }) { const ownerText = `╭─ 👑 Oᴡɴᴇʀ Iɴғᴏ 👑 ─╮ │ 👤 Nᴀᴍᴇ : حمزة (عنترة) │ 🧸 Nɪᴄᴋ : Asura Al-Naili │ 🎓 Pʀᴏғᴇssɪᴏɴ : طالب جامعي │ 📍 Lᴏᴄᴀᴛɪᴏɴ : الجزائر - سطيف ├─ 🔗 Cᴏɴᴛᴀᴄᴛ ─╮ │ 📘 Facebook : fb.com/profile.php?id=61585071699070 ╰────────────────╯`; const imgLink = "https://i.pinimg.com/736x/81/20/fb/8120fbd56ae2ad1ab37f0551f22ec6bb.jpg"; try { const stream = await global.utils.getStreamFromURL(imgLink); return api.sendMessage( { body: ownerText, attachment: stream }, event.threadID, event.messageID ); } catch (e) { return api.sendMessage(ownerText, event.threadID, event.messageID); } } };