aboutsummaryrefslogtreecommitdiff
path: root/commands/Fun/slots.js
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-03-23 21:21:30 -0400
committerUnknown <jtsshieh@outlook.com>2018-03-23 21:21:30 -0400
commit0b922294948ed3e1811aa166085775289f7ccfce (patch)
tree9883a5f66c746dc231302dd00dc6a7e94a7c5d3f /commands/Fun/slots.js
parent630f03e7223c25e1473f7374e137dac8bab33c90 (diff)
downloadPokeBot-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.js2
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));