This commit is contained in:
Christopher Cookman 2023-08-13 21:19:56 -06:00
parent ed072aa712
commit 03f80a46c4
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -512,7 +512,7 @@ client.on("interactionCreate", async interaction => {
});
// Check if they won or lost, if they won, give them the prize
if (slotResults.coinDifference > 0) {
await checkAndModifyPoints(interaction.user.id, slotResults.coinDifference);
await checkAndModifyPoints(interaction.user.id, slotResults.coinDifference + 3);
if (slotResults.jackpot) {
return await interaction.editReply({
embeds: [{
@ -539,6 +539,8 @@ client.on("interactionCreate", async interaction => {
});
}
} else {
// They lost, sad
checkAndModifyPoints(interaction.user.id, slotResults.coinDifference);
if (slotResults.bombs) {
// Triple bombs, very sad
await interaction.editReply({