Delta should show what they spent

This commit is contained in:
Joseph Ferano 2022-04-21 12:39:02 +07:00
parent ef6e48c66b
commit 7100bcbb08

View File

@ -266,7 +266,7 @@ let spin multiplier (ctx : IDiscordContext) =
embed.Title <- "Slots Results"
let addGBTField (embed : DiscordEmbedBuilder) prize =
let sym = if prize > 0<GBT> 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) ->