← back to browse
goat command

gay

Check ke koto % gay

0
views
0
likes
0
installs

Aliases: gayy

raw source
module.exports = {
  config: {
    name: "gay",
    aliases: ["gayy"],
    version: "1.0",
    author: "Sazzad",
    countDown: 3,
    role: 0,
    shortDescription: "Check ke koto % gay",
    longDescription: "Mention ba reply diye dekho ke koto % gay",
    category: "fun",
    guide: {
      en: "{p}gayy [@mention / reply]\nEx: {p}gayy @user"
    }
  },

  onStart: async function ({ api, event, args, message, usersData }) {
    const sendMsg = (txt) => message && typeof message.reply === "function"
   ? message.reply(txt)
      : api.sendMessage(txt, event.threadID, event.messageID);

    let targetID = event.senderID;
    let targetName = await usersData.getName(targetID);

    if (event.type === "message_reply") {
      targetID = event.messageReply.senderID;
      targetName = await usersData.getName(targetID);
    } else if (Object.keys(event.mentions || {}).length > 0) {
      targetID = Object.keys(event.mentions)[0];
      targetName = await usersData.getName(targetID);
    }

    const specialID = "61587127840501"; // Nur Islam Sazzad er UID
    let percent;

    if (targetID === specialID) {
      percent = "0.00";
    } else {
      percent = (Math.random() * 99.99 + 0.01).toFixed(2);
    }

    percent = parseFloat(percent);
    let result = "";
    if (targetID === specialID) result = "๐Ÿ˜‡ 100% POBITRO BHAI";
    else if (percent < 20) result = "๐ŸŒˆ Straight legend bhai";
    else if (percent < 40) result = "๐Ÿ˜ ektu ektu doubt ase";
    else if (percent < 60) result = "๐Ÿ˜‚ ordhek gay ordhek bhai";
    else if (percent < 80) result = "๐Ÿณ๏ธโ€๐ŸŒˆ full gay vibes";
    else result = "๐Ÿ’€ UNHOLY GAY LEVEL MAX";

    return sendMsg(
`๐Ÿณ๏ธโ€๐ŸŒˆ โ”€โ”€โ”€ [ GAY TESTER ] โ”€โ”€โ”€ ๐Ÿณ๏ธโ€๐ŸŒˆ

๐Ÿ‘ค Target: ${targetName}
๐Ÿ“Š Gay %: ${percent}%

${result}`
    );
  }
};

View raw file