Add play cost to losing slots
This commit is contained in:
parent
70e05a7de2
commit
d14b7ee892
4
index.js
4
index.js
|
@ -548,7 +548,7 @@ client.on("interactionCreate", async interaction => {
|
||||||
await interaction.editReply({
|
await interaction.editReply({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
title: "Bombs!",
|
title: "Bombs!",
|
||||||
description: `${slotResults.spinResult[0]}${slotResults.spinResult[1]}${slotResults.spinResult[2]}\nYou lost ${Math.abs(difference)} coins!`,
|
description: `${slotResults.spinResult[0]}${slotResults.spinResult[1]}${slotResults.spinResult[2]}\nYou lost ${Math.abs(difference - 3)} coins!`,
|
||||||
color: 0xff0000
|
color: 0xff0000
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
@ -556,7 +556,7 @@ client.on("interactionCreate", async interaction => {
|
||||||
await interaction.editReply({
|
await interaction.editReply({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
title: "Slots",
|
title: "Slots",
|
||||||
description: `${slotResults.spinResult[0]}${slotResults.spinResult[1]}${slotResults.spinResult[2]}\nYou lost ${Math.abs(difference)} coins!`,
|
description: `${slotResults.spinResult[0]}${slotResults.spinResult[1]}${slotResults.spinResult[2]}\nYou lost ${Math.abs(difference - 3)} coins!`,
|
||||||
color: 0xff0000
|
color: 0xff0000
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue