More copy

This commit is contained in:
Joseph Ferano 2022-04-21 15:03:25 +07:00
parent 181980e395
commit 7dda9c1069

View File

@ -267,8 +267,8 @@ let spin multiplier (ctx : IDiscordContext) =
embed.Title <- "Slots Results"
let addGBTField (embed : DiscordEmbedBuilder) prize =
if prize > 0<GBT>
then embed.AddField("New 💰$GBT Balance", $"`💰` {player.Bank} `💰` {player.Bank - playAmount + prize} `(+{prize - playAmount} $GBT)`") |> ignore
else embed.AddField("New 💰$GBT Balance", $"`💰` {player.Bank} `💰` {player.Bank + prize} `({prize} $GBT)`") |> ignore
then embed.AddField("New $GBT Balance", $"`💰` {player.Bank} `💰` {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
| Some (Money amount) ->