Gacha Command Discord.js ( using handler )

Could someone help me make a gacha command using a handler, because I’m breaking my head to make such a command and I can’t. I need him to make a gacha command that gives a cash prize to anyone who gets 3 equal emojis.

try this: (Only an example) = async (client, message, args) => {
const emojiSetOne = ["emoji1", "emoji2", "emoji3"];
const emojiSetTwo = ["emoji4", "emoji5", "emoji6"];
const emojiSetThree = ["emoji7", "emoji8", "emoji9"];

const answer1 = ${emojiSetOne[Math.floor(Math.random() * emojiSetOne.length)]};
const answer2 = ${emojiSetTwo[Math.floor(Math.random() * emojiSetTwo.length)]};
const answer3 = ${emojiSetThree[Math.floor(Math.random() * emojiSetThree.length)]};

const answerTotal = `${answer1}, ${answer2}, ${answer3}``Ok guess which emojis out of these I picked!. Pick 3.\n${emojiSetOne.toLocalString()}\n${emojiSetTwo.toLocalString()}\n${emojiSetThree.toLocalString}`)

//code here that checks if the author's reply is equal to answers. This code is kinda complicated to do in js.

//And in thus part is where you would use whatever database your using to store the money for each user.


I hoped I helped you stage the code and kind of how to do it. I tried my best lol