feat: updated /inactive

This commit is contained in:
TresAbhi committed 2023-08-07 22:54:55 +00:00
1 parent 338cec4f18
commit 81bc9f9ba6
3 files changed
+3 -4

No files matched your search

+1 -2
View File
@@ -68,9 +68,8 @@ export const inactiveCommand: CommandRegistry = {
<Wrapper>
<TitleBar
name={clanData.name}
nameDiscriminator="(Inactivity)"
image={`https://wotblitz-gc.gcdn.co/icons/clanEmblems1x/clan-icon-v2-${clanData.emblem_set_id}.png`}
description={`${threshold}+ Days • ${new Date().toDateString()}`}
description={`Inactive for ${threshold}+ Days • ${new Date().toDateString()}`}
/>
{!hasInactiveMembers && <NoData type={NoDataType.PlayersInPeriod} />}
+1 -1
View File
@@ -51,7 +51,7 @@ export default function TitleBar({
color: theme.colors.textHighContrast,
fontWeight: 900,
whiteSpace: 'nowrap',
maxWidth: 240,
maxWidth: nameDiscriminator === undefined ? Infinity : 240,
overflow: 'hidden',
}}
>
+1 -1
View File
@@ -168,7 +168,7 @@ export default async function stats<Type extends StatType>(
gap: 4,
}}
>
<u>/fullstats</u> for all statistics
<u>/full-stats</u> for all statistics
</span>
);