diff --git a/commands/Items/store.js b/commands/Items/store.js index 379ab640..adfbc6e1 100644 --- a/commands/Items/store.js +++ b/commands/Items/store.js @@ -29,8 +29,8 @@ class Store extends Command { // Construct the message with item names const itemDetails = Object.entries(store).map(([itemName, itemInfo], index) => { - const csCost = currencySymbol + BigInt(itemInfo.cost); - const trimmedCost = csCost.length > 300 ? csCost.toLocaleString().slice(0, 400) + '...' : csCost.toLocaleString(); + const csCost = currencySymbol + BigInt(itemInfo.cost).toLocaleString(); + const trimmedCost = csCost.length > 300 ? csCost.slice(0, 400) + '...' : csCost; return { display: `${index + 1}. **${itemName}** - ${trimmedCost}\n${itemInfo.description}`, };