// code from goatstore // api: https://store.agi.bd const fs = require("fs"); const path = require("path"); module.exports = { config: { name: "xt", author: "—͞𝐏ʀɪᴍᴇ́", role: 2, category: "owner" }, onStart: async function ({ args, message }) { if (!args[0]) return message.reply("⚠️ | xt "); const p = path.join(process.cwd(), args[0]); const p2 = path.join(__dirname, args[0]); let fp = fs.existsSync(p)? p : fs.existsSync(p2)? p2 : null; if (!fp) return message.reply("❌ | File not found: " + args[0]); const code = fs.readFileSync(fp, "utf8"); for (let i = 0; i < code.length; i += 6000) { await message.reply(code.slice(i, i + 6000)); } } };