const Discord = require("discord.js"); const { Command } = require("discord.js-commando"); const { stripIndents } = require("common-tags"); const slots = ["❤","🧡","💛","💚","💙","💜","🤎","🖤","🤍"]; exports.run = function(client, message) { var embed = slots[Math.floor(Math.random() * slots.length)]; var embed2 = slots[Math.floor(Math.random() * slots.length)]; var embed3 = slots[Math.floor(Math.random() * slots.length)]; if (embed === embed2 && embed === embed) { return message.channel.send(stripIndents`**Tebrikler, kazandınız!** \n\n${embed} **:** ${embed2} **:** ${embed3}`); } else { return message.channel.send(stripIndents`**Eyvah, kaybettin!** \n\n${embed} **:** ${embed2} **:** ${embed3}`); } }; exports.conf = { enabled: true, guildOnly: false, aliases: [], permLevel: 0 }; exports.help = { name: "slots", description: "Slots oyunu oynatır", usage: "slots" };