diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-23 21:21:30 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-23 21:21:30 -0400 |
| commit | 0b922294948ed3e1811aa166085775289f7ccfce (patch) | |
| tree | 9883a5f66c746dc231302dd00dc6a7e94a7c5d3f /commands/Fun/slots.js | |
| parent | 630f03e7223c25e1473f7374e137dac8bab33c90 (diff) | |
| download | PokeBot-0b922294948ed3e1811aa166085775289f7ccfce.tar.gz PokeBot-0b922294948ed3e1811aa166085775289f7ccfce.tar.bz2 PokeBot-0b922294948ed3e1811aa166085775289f7ccfce.zip | |
fix lotto glitch
Diffstat (limited to 'commands/Fun/slots.js')
| -rw-r--r-- | commands/Fun/slots.js | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |
