diff --git a/Bot/Games/SlotMachine.fs b/Bot/Games/SlotMachine.fs index a1b38bb..24b48d7 100644 --- a/Bot/Games/SlotMachine.fs +++ b/Bot/Games/SlotMachine.fs @@ -266,8 +266,9 @@ let spin multiplier (ctx : IDiscordContext) = embed.Author.IconUrl <- ctx.GetDiscordMember().AvatarUrl embed.Title <- "Slots Results" let addGBTField (embed : DiscordEmbedBuilder) prize = - let sym = if prize > 0 then "+" else "-" - embed.AddField("New 💰$GBT Balance", $"`💰` {player.Bank - playAmount} ⋙ `💰` {(player.Bank - playAmount) + prize} `({sym}{abs (prize - playAmount)} $GBT)`") |> ignore + if prize > 0 + then embed.AddField("New 💰$GBT Balance", $"`💰` {player.Bank - playAmount} ⋙ `💰` {player.Bank + prize} `(+{prize} $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) ->