diff --git a/packages/bot/src/commands/auction.ts b/packages/bot/src/commands/auction.ts index fa886a125..96001d32f 100644 --- a/packages/bot/src/commands/auction.ts +++ b/packages/bot/src/commands/auction.ts @@ -20,8 +20,8 @@ type Result = type: 'vehicle'; countable?: boolean; entity?: Entity; - initial_count?: number; - current_count?: number; + initial_count: number; + current_count: number; saleable?: boolean; available_from?: Date; available_before?: Date; @@ -112,12 +112,16 @@ export const auctionCommand = new Promise((resolve) => { interaction.locale, )}`, ]); + const available = translate('bot.commands.auction.body.available', [ + data.current_count.toLocaleString(interaction.locale), + data.initial_count.toLocaleString(interaction.locale), + ]); return `${ index + 1 }. ${name} <:gold:1317173197082333244> ${data.price!.value.toLocaleString( interaction.locale, - )}\n-# ${next}`; + )}\n-# ${available}\n-# ${next}`; }) .join('\n\n'); const content = `${title}\n${subtitle}\n\n${body}`; diff --git a/packages/core/lang/en-US.json b/packages/core/lang/en-US.json index 3ebb10239..7a8eac4b1 100644 --- a/packages/core/lang/en-US.json +++ b/packages/core/lang/en-US.json @@ -298,7 +298,8 @@ "body": { "title": "Blitz Auction", "subtitle": "%s available • next prices %s\nBid now: %s", - "next": "Next price: %s" + "next": "Next price: %s", + "available": "Available: %s / %s" }, "errors": { "no_auction": "# No ongoing auction\n\nCurrently, there are no tanks available for purchase in the auction. If you think this is an error, please report this discrepancy in [the official Discord Server](https://discord.gg/nDt7AjGJQH)."