feat: change tier back to number

This commit is contained in:
tresabhi committed 2024-11-20 10:26:55 -06:00
1 parent 8089a5eaa6
commit fcb848df5b
16 files changed
+80 -119

No files matched your search

+1 -2
View File
@@ -2,7 +2,6 @@ import {
TANK_CLASSES,
TIER_ROMAN_NUMERALS,
TankDefinition,
Tier,
flags,
getAccountInfo,
getTankStats,
@@ -80,7 +79,7 @@ export const ownedTanksCommand = new Promise<CommandRegistry>((resolve) => {
index === 0
? `${translate('bot.commands.owned_tanks.body.title', [
markdownEscape(accountInfo.nickname),
TIER_ROMAN_NUMERALS[tier as Tier],
TIER_ROMAN_NUMERALS[tier],
])}${lines.join('\n')}`
: lines.join('\n'),
);
@@ -3,7 +3,6 @@ import {
FIRST_MINIMAL_ARCHIVED_RATING_SEASON,
getAccountInfo,
getArchivedLatestSeasonNumber,
getArchivedRatingInfo,
getArchivedRatingLeaderboard,
getArchivedRatingMidnightLeaderboard,
getClanAccountInfo,
@@ -12,7 +11,6 @@ import {
getRatingNeighbors,
isOnGoingRatingSeason,
LEAGUES,
RatingInfo,
Region,
} from '@blitzkit/core';
import {