← back to browse
goat command

boka

Boka banay dey ๐Ÿ˜‚

0
views
0
likes
0
installs
raw source
module.exports = {
    config: {
        name: "boka",
        version: "1.0",
        author: "๐—”๐—ฟ๐—ถ๐˜†๐—ฎ๐—ป ๐—ฏ๐—ฏ'๐˜‡",
        countDown: 3,
        role: 0,
        shortDescription: "Boka banay dey ๐Ÿ˜‚",
        category: "FUN",
        guide: "{pn} (reply someone)"
    },

    onStart: async function ({ api, event }) {
        try {
            if (!event.messageReply) {
                return api.sendMessage("โš  Boka bananor jonno age kauke reply de!", event.threadID, event.messageID);
            }

            const targetID = event.messageReply.senderID;
            const targetName = await api.getUserInfo(targetID);
            const name = targetName[targetID].name;

            const bokaLines = [
                `๐Ÿคก ${name} ekta boro boka ๐Ÿ˜‚`,
                `๐Ÿง  ${name} er mathay buddhi nai, shob gobor`,
                `๐Ÿ˜† ${name} = certified boka`,
                `๐Ÿคฆ ${name} tui je ki, allah e jane`,
                `๐Ÿ˜‚ Boka of the year: ${name}`
            ];

            const rand = bokaLines[Math.floor(Math.random() * bokaLines.length)];
            return api.sendMessage(rand, event.threadID, event.messageID);

        } catch (err) {
            return api.sendMessage("โŒ Error hoise!", event.threadID, event.messageID);
        }
    }
};

View raw file