Error copy
This commit is contained in:
parent
43f947145f
commit
231c559b1d
@ -22,7 +22,10 @@ let checkHasSufficientFunds (item : Item) player =
|
||||
| CanBuy price ->
|
||||
if player.Bank - price >= 0<GBT>
|
||||
then Ok player
|
||||
else Error $"You do not have sufficient funds to buy this item! Current balance: {player.Bank} GBT"
|
||||
else Error $"""
|
||||
**__Current Balance:__** {player.Bank} 💰 $GBT
|
||||
Hold up Degen! You don't have enough $GBT!
|
||||
Go to <#{GuildEnvironment.channelQuests}> to start earning some now..."""
|
||||
| _ -> Error $"{item.Name} item cannot be bought"
|
||||
|
||||
let getTotalOwnedOfItem (item : Item) (inventory : Item list) =
|
||||
|
Loading…
x
Reference in New Issue
Block a user