Delta should show what they spent
This commit is contained in:
parent
ef6e48c66b
commit
7100bcbb08
@ -266,7 +266,7 @@ let spin multiplier (ctx : IDiscordContext) =
|
|||||||
embed.Title <- "Slots Results"
|
embed.Title <- "Slots Results"
|
||||||
let addGBTField (embed : DiscordEmbedBuilder) prize =
|
let addGBTField (embed : DiscordEmbedBuilder) prize =
|
||||||
let sym = if prize > 0<GBT> then "+" else "-"
|
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 {
|
let! result , prizeAmount = async {
|
||||||
match prize with
|
match prize with
|
||||||
| Some (Money amount) ->
|
| Some (Money amount) ->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user