Money bag

This commit is contained in:
Joseph Ferano 2022-06-13 22:17:57 +07:00
parent 73ce6c08f1
commit 2a72b0d37c

View File

@ -78,7 +78,7 @@ let getItemEmbeds owned (items : StoreItem list) =
|> List.iter (function |> List.iter (function
| Buyable price -> | Buyable price ->
if not owned then if not owned then
embed.AddField("Price", (if price = 0<GBT> then "Free" else $"{price} $GBT"), true) |> ignore embed.AddField("Price", (if price = 0<GBT> then "Free" else $"{price} 💰 $GBT"), true) |> ignore
| Attackable power -> | Attackable power ->
let title = match item.Item.Type with ItemType.Hack -> "Reward" | _ -> "Power" let title = match item.Item.Type with ItemType.Hack -> "Reward" | _ -> "Power"
embed.AddField($"{title}", string power, true) |> ignore embed.AddField($"{title}", string power, true) |> ignore