Skip to content
Snippets Groups Projects
Commit 04453a36 authored by Reviath's avatar Reviath
Browse files

Update commands/slots.js

parent 52ffaaab
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ let slots = ["<a:blue_fire:801857759989465170>", "<a:orange_fire:801858052163895
.addField('Result:', slots[result1] + slots[result2] + slots[result3], true)
.addField(`You won ${cfNumber*2}`)
.setColor(0xF4E842)
message.channel.send(embed).then(db.add(Balance_`${message.author.id}`, cfNumber));
message.channel.send(embed).then(db.add(`Balance_${message.author.id}`, cfNumber));
} else {
let embed2 = new Discord.MessageEmbed()
.setFooter('You lost!', icon)
......@@ -39,7 +39,7 @@ let slots = ["<a:blue_fire:801857759989465170>", "<a:orange_fire:801858052163895
.addField('Result:', slots[result1] + slots[result2] + slots[result3], true)
.setColor(0xF4E842)
.addField(`You lost ${cfNumber}`)
message.channel.send(embed2).then(db.subtract(Balance_`${message.author.id}`, cfNumber));
message.channel.send(embed2).then(db.subtract(`Balance_${message.author.id}`, cfNumber));
}
}
module.exports.help = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment