From 0b922294948ed3e1811aa166085775289f7ccfce Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 23 Mar 2018 21:21:30 -0400 Subject: fix lotto glitch --- commands/Fun/slots.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/Fun') diff --git a/commands/Fun/slots.js b/commands/Fun/slots.js index 223ebb6..b3295b4 100644 --- a/commands/Fun/slots.js +++ b/commands/Fun/slots.js @@ -44,7 +44,7 @@ exports.run = async (bot, msg) => { const balance = await bot.plugins.economy.get(msg.author.id); return await msg.channel.send('You won 1000 credits!\nCurrent Balance: ' + balance + ' \n> ' + emojify(number1, number2, number3)); } - else if (number2 == number3 - 1 && 1 == number2 - 1) { + else if (number2 == number3 - 1 && number1 == number2 - 1) { await bot.plugins.economy.add(msg.author.id, 1500); const balance = await bot.plugins.economy.get(msg.author.id); return await msg.channel.send('You won 1500 credits!\nCurrent Balance: ' + balance + ' \n> ' + emojify(number1, number2, number3)); -- cgit v1.2.3