// code from goatstore // api: https://store.agi.bd const axios = require("axios"); module.exports = { config: { name: "janu", version: "4.0.0", author: "Shaon Ahmed", countDown: 3, role: 0, category: "fun", shortDescription: "Janu SIM SIMI fun reply", longDescription: "Janu লিখে কিছু বললে API থেকে মজার reply দেয়।", guide: "{pn} janu [your query]" }, onStart: async function ({ message, args }) { const text = args.join(" ").trim(); if (!text) { return message.reply("হুম জান বলো কি বলবা-!!❤️✌️"); } try { const url = "https://sim.mohammad-rahad.repl.co/sim?reply=" + encodeURIComponent(text); const response = await axios.get(url, { timeout: 15000 }); const reply = response && response.data && (response.data.message || response.data.reply); if (!reply) { return message.reply("হুম জান বলো কি বলবা-!!❤️✌️"); } return message.reply(formatFont(String(reply))); } catch (error) { console.error("Janu API Error:", error.message); return message.reply("হুম জান বলো কি বলবা-!!❤️✌️"); } } }; function formatFont(text) { const font = { a:"𝐚",b:"𝐛",c:"𝐜",d:"𝐝",e:"𝐞",f:"𝐟", g:"𝐠",h:"𝐡",i:"𝐢",j:"𝐣",k:"𝐤",l:"𝐥", m:"𝐦",n:"𝐧",o:"𝐨",p:"𝐩",q:"𝐪",r:"𝐫", s:"𝐬",t:"𝐭",u:"𝐮",v:"𝐯",w:"𝐰",x:"𝐱", y:"𝐲",z:"𝐳", A:"𝐀",B:"𝐁",C:"𝐂",D:"𝐃",E:"𝐄",F:"𝐅", G:"𝐆",H:"𝐇",I:"𝐈",J:"𝐉",K:"𝐊",L:"𝐋", M:"𝐌",N:"𝐍",O:"𝐎",P:"𝐏",Q:"𝐐",R:"𝐑", S:"𝐒",T:"𝐓",U:"𝐔",V:"𝐕",W:"𝐖",X:"𝐗", Y:"𝐘",Z:"𝐙", 0:"𝟎",1:"𝟏",2:"𝟐",3:"𝟑",4:"𝟒", 5:"𝟓",6:"𝟔",7:"𝟕",8:"𝟖",9:"𝟗" }; return text .split("") .map(function(char) { return font[char] || char; }) .join(""); }