fix: fix wording for non-purchasable items
Some checks failed
Deploy to Production / test (push) Failing after 33s
Some checks failed
Deploy to Production / test (push) Failing after 33s
This commit is contained in:
@@ -210,7 +210,7 @@ export function getItemDetailMessage(
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Stats row
|
// Stats row
|
||||||
const priceText = item.price ? `${item.price} 🪙` : "Not tradeable";
|
const priceText = item.price ? `${item.price} 🪙` : "Not purchasable";
|
||||||
container.addTextDisplayComponents(
|
container.addTextDisplayComponents(
|
||||||
new TextDisplayBuilder().setContent(
|
new TextDisplayBuilder().setContent(
|
||||||
`Owned: **×${entry.quantity}** · Value: **${priceText}**`
|
`Owned: **×${entry.quantity}** · Value: **${priceText}**`
|
||||||
|
|||||||
Reference in New Issue
Block a user