// code from goatstore // api: https://store.agi.bd module.exports = { config: { name: "adminmention", version: "1.3.2", author: "Mûñtåsîr Asif ✦", countDown: 0, role: 0, shortDescription: "Replies when someone mentions the admin", longDescription: "If anyone mentions the admin, bot will randomly reply.", category: "system" }, onStart: async function () {}, onChat: async function ({ event, message }) { // 👑 Admin UID const adminID = "860510056721852"; // Don't reply if admin mentions someone if (String(event.senderID) === adminID) return; // Get mentioned user IDs const mentionedIDs = event.mentions ? Object.keys(event.mentions).map(String) : []; // Reply only when admin is mentioned if (!mentionedIDs.includes(adminID)) return; const REPLIES = [ "ওরে মেনশন দিস না বউ নিয়া চিপায় গেছে 😩🐸", "বস এক আবাল তুমারে ডাকতেছে 😂😏", "মেনশন দিছস আর বেচে যাবি? দাড়া বলতাছি 😠", "Boss এখন বিজি আছে 😌🥱" ]; const randomReply = REPLIES[Math.floor(Math.random() * REPLIES.length)]; return message.reply(randomReply); } };