Comparing version 8.9.9 to 9.9.9
{ | ||
"name": "azel", | ||
"version": "8.9.9", | ||
"version": "9.9.9", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -57,2 +57,11 @@ const { MessageEmbed } = require("discord.js") | ||
async start() { | ||
const slots = [this.emojiOne, this.emojiTwo, this.emojiThree] | ||
const slotOne = slots[Math.floor(Math.random() * slots.length)]; | ||
const slotTwo = slots[Math.floor(Math.random() * slots.length)]; | ||
const slotThree = slots[Math.floor(Math.random() * slots.length)]; | ||
const embed = new MessageEmbed() | ||
@@ -66,10 +75,2 @@ .setDescription(`**>** ${slotOne} | ${slotTwo} | ${slotThree} **<**\n${this.winMessage}`) | ||
if(this.title && this.description) { | ||
const slots = [this.emojiOne, this.emojiTwo, this.emojiThree] | ||
const slotOne = slots[Math.floor(Math.random() * slots.length)]; | ||
const slotTwo = slots[Math.floor(Math.random() * slots.length)]; | ||
const slotThree = slots[Math.floor(Math.random() * slots.length)]; | ||
if(slotOne === slotTwo && slotOne === slotThree) { | ||
@@ -91,5 +92,4 @@ this.message.channel.send(embed) | ||
} | ||
} | ||
} | ||
module.exports = slots; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51064
938