From 7100bcbb08a1c26e712484229e5529676d1f66a0 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Thu, 21 Apr 2022 12:39:02 +0700 Subject: [PATCH] Delta should show what they spent --- 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 90a3ce5..6c6fdab 100644 --- a/Bot/Games/SlotMachine.fs +++ b/Bot/Games/SlotMachine.fs @@ -266,7 +266,7 @@ let spin multiplier (ctx : IDiscordContext) = embed.Title <- "Slots Results" let addGBTField (embed : DiscordEmbedBuilder) prize = let sym = if prize > 0 then "+" else "-" - embed.AddField("New 💰$GBT Balance", $"`💰` {player.Bank} ⋙ `💰` {player.Bank + prize} `({sym}{abs prize} $GBT)`") |> ignore + embed.AddField("New 💰$GBT Balance", $"`💰` {player.Bank - playAmount} ⋙ `💰` {(player.Bank - playAmount) + prize} `({sym}{abs (prize - playAmount)} $GBT)`") |> ignore let! result , prizeAmount = async { match prize with | Some (Money amount) ->