goat
command
تنشيط
تنشيط التفاعل
0
views
0
likes
0
installs
Aliases: group_refresh
raw source
exports.config = {
name: "تنشيط",
aliases: ["group_refresh"],
version: "1.2",
author: "MOHAMMAD AKASH",
countDown: 0,
role: 2,
shortDescription: "تنشيط التفاعل",
category: "fun"
};
const last = {};
const cool = 10000;
const frogText = `➖
🌪️
`;
exports.onStart = async function(){};
exports.onChat = async function({event, api}){
const t = event.threadID;
const now = Date.now();
if(event.senderID === api.getCurrentUserID()) return;
if(last[t] && now - last[t] < cool) return;
const msg = (event.body || "").toLowerCase().trim();
if(msg === "group refresh"){
for(let i = 0; i < 5; i++){
api.sendMessage(frogText, t);
}
last[t] = now;
}
};