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

Update commands/slots.js

parent 170e4df3
Branches
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ let slots = ["<a:blue_fire:801857759989465170>", "<a:orange_fire:801858052163895
.setFooter('You won!', icon)
.setTitle(':slot_machine: Slots :slot_machine:')
.addField('Result:', slots[result1] + slots[result2] + slots[result3], true)
.addField(`You won ${cfNumber*2}`)
.setColor(0xF4E842)
message.channel.send(embed).then(db.add(`${message.author.id}`, cfNumber));
} else {
......@@ -37,6 +38,7 @@ let slots = ["<a:blue_fire:801857759989465170>", "<a:orange_fire:801858052163895
.setTitle(':slot_machine: Slots :slot_machine:')
.addField('Result:', slots[result1] + slots[result2] + slots[result3], true)
.setColor(0xF4E842)
.addField(`You lost ${cfNumber}`)
message.channel.send(embed2).then(db.subtract(`${message.author.id}`, cfNumber));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment