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);
}
}
};