From 2cf39cd47a0cc82eda5f5f3adf091d77888f646a Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Thu, 21 Apr 2022 13:17:35 +0700 Subject: [PATCH] Fix it again --- Bot/Games/SlotMachine.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bot/Games/SlotMachine.fs b/Bot/Games/SlotMachine.fs index 755aebe..f81b47c 100644 --- a/Bot/Games/SlotMachine.fs +++ b/Bot/Games/SlotMachine.fs @@ -267,7 +267,7 @@ let spin multiplier (ctx : IDiscordContext) = embed.Title <- "Slots Results" let addGBTField (embed : DiscordEmbedBuilder) prize = if prize > 0 - then embed.AddField("New 💰$GBT Balance", $"`💰` {player.Bank - playAmount} ⋙ `💰` {player.Bank + prize} `(+{prize} $GBT)`") |> ignore + then embed.AddField("New 💰$GBT Balance", $"`💰` {player.Bank - playAmount} ⋙ `💰` {player.Bank - playAmount + prize} `(+{prize - playAmount} $GBT)`") |> ignore else embed.AddField("New 💰$GBT Balance", $"`💰` {player.Bank} ⋙ `💰` {player.Bank - prize} `(-{(prize)} $GBT)`") |> ignore let! result , prizeAmount = async { match prize with