// code from goatstore // api: https://store.agi.bd module.exports = { config: { name: "chumma", version: "2.0.0", author: "VanHung - Fixed by LTD", role: 0, description: "Auto reply to kiss/chumma messages", category: "events", guide: { en: "No prefix required" } }, onStart: async function () { // No command action needed. // Auto reply is handled by onChat. }, onChat: async function ({ api, event }) { if (!event.body) return; const body = event.body.trim().toLowerCase(); // Trigger words const triggers = [ "😘", "kiss", "chumma", "chumu" ]; // Check if message starts with any trigger const matched = triggers.some(trigger => body.startsWith(trigger)); if (!matched) return; // Send reply await api.sendMessage( "Ummmmmmaaaahhhhhh😘😘 Baby 😘", event.threadID, event.messageID ); // React to user's message try { await api.setMessageReaction( "😘", event.messageID, () => {}, true ); } catch (error) { console.log("Reaction Error:", error.message); } } };