← back to browse
goat command

فورك

نسخ مشروع البوت

0
views
0
likes
0
installs

Aliases: fork

raw source
exports.config = {
  name: "فورك",
    aliases: ["fork"],
  version: "1.0.0",
  author: "EryXenX",
  countDown: 0,
  role: 0,
  shortDescription: "نسخ مشروع البوت",
  longDescription: "نسخ مشروع البوت",
  category: "system",
  guide: {
    en: "Type 'fork' or 'repository'"
  ,
			ar: "{pn}"
		}
};

const last = {};
const cool = 10000;

exports.onStart = async function(){};

exports.onChat = async function({event: z, api: y}){
  const t = z.threadID;
  const n = Date.now();
  if(last[t] && n - last[t] < cool) return;

  const m = (z.body || "").toLowerCase().trim();
  if(!m) return;

  const fork = m.includes("fork") || m.includes("repository");

  if(fork){
    y.sendMessage(
`🔗𝗚𝗶𝘁𝗛𝘂𝗯 𝗙𝗼𝗿𝗸 𝗟𝗶𝗻𝗸:
https://github.com/EryXenX/GoatBot-Pro.git

🎬 𝗦𝗲𝘁𝘂𝗽 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹👇🏼
https://youtu.be/gPf_BFhQz_w?si=T1N6sB2DefeTGq2R`,
      t,
      z.messageID
    );

    last[t] = n;
  }
};

View raw file