mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
feat: updated /inactive
This commit is contained in:
1 parent
338cec4f18
commit
81bc9f9ba6
3 files changed
+3
-4
No files matched your search
@@ -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} />}
|
||||
|
||||
@@ -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',
|
||||
}}
|
||||
>
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user