aboutsummaryrefslogtreecommitdiff
path: root/commands/Fun/slots.js
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-03-09 22:42:57 -0500
committerUnknown <jtsshieh@outlook.com>2018-03-09 22:42:57 -0500
commit144128d1dfc38c0976797ed9a6897242184c7b3f (patch)
treed34b5f483029d6b24d3e00c21dd0bc2bc2aa340f /commands/Fun/slots.js
parentcd6814547a606c670b713ecb084847e71c3c9d9d (diff)
downloadPokeBot-144128d1dfc38c0976797ed9a6897242184c7b3f.tar.gz
PokeBot-144128d1dfc38c0976797ed9a6897242184c7b3f.tar.bz2
PokeBot-144128d1dfc38c0976797ed9a6897242184c7b3f.zip
dingus me
Diffstat (limited to 'commands/Fun/slots.js')
-rw-r--r--commands/Fun/slots.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Fun/slots.js b/commands/Fun/slots.js
index 2332466..d4234a1 100644
--- a/commands/Fun/slots.js
+++ b/commands/Fun/slots.js
@@ -49,6 +49,7 @@ exports.run = async (bot, msg) => {
return await msg.channel.send('You won 15 credits!\nCurrent Balance: ' + balance + ' \n> ' + emojify(number1, number2, number3));
}
else {
+ await bot.plugins.economy.subtract(msg.author.id, 10);
return await msg.channel.send('Aww, you lost! Better luck next time.\nCurrent Balance: ' + balance + ' \n> ' + emojify(number1, number2, number3));
}
};