Fix it again
This commit is contained in:
parent
4103b48483
commit
2cf39cd47a
@ -267,7 +267,7 @@ let spin multiplier (ctx : IDiscordContext) =
|
|||||||
embed.Title <- "Slots Results"
|
embed.Title <- "Slots Results"
|
||||||
let addGBTField (embed : DiscordEmbedBuilder) prize =
|
let addGBTField (embed : DiscordEmbedBuilder) prize =
|
||||||
if prize > 0<GBT>
|
if prize > 0<GBT>
|
||||||
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
|
else embed.AddField("New 💰$GBT Balance", $"`💰` {player.Bank} ⋙ `💰` {player.Bank - prize} `(-{(prize)} $GBT)`") |> ignore
|
||||||
let! result , prizeAmount = async {
|
let! result , prizeAmount = async {
|
||||||
match prize with
|
match prize with
|
||||||
|
Loading…
x
Reference in New Issue
Block a user