Skip to content

Commit 847f60a

Browse files
authored
fix(prefixes): fix coloring of prefixes and some misc changes (#314)
1 parent 13a9237 commit 847f60a

File tree

25 files changed

+90
-66
lines changed

25 files changed

+90
-66
lines changed

apps/discord-bot/src/commands/arenabrawl/arenabrawl.profile.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export const ArenaBrawlProfile = ({
4040
const sidebar: SidebarItem[] = [
4141
[t("stats.coins"), t(arenabrawl.coins), "§6"],
4242
[t("stats.tokens"), t(arenabrawl.tokens), "§e"],
43-
[t("stats.keys"), t(arenabrawl.keys), "§b"],
44-
[t("stats.magicalChests"), t(arenabrawl.magicalChests), a"],
43+
[t("stats.magicalKeys"), t(arenabrawl.keys), "§b"],
44+
[t("stats.magicalChests"), t(arenabrawl.magicalChests), 5"],
4545
[t("stats.rune"), prettify(arenabrawl.rune), "§9"],
4646
];
4747

@@ -53,7 +53,7 @@ export const ArenaBrawlProfile = ({
5353
badge={badge}
5454
sidebar={sidebar}
5555
title={`§l${FormattedGame.ARENA_BRAWL} §fStats §r(${mode.formatted})`}
56-
description={7Kill ${formatProgression({
56+
description={7Win ${formatProgression({
5757
t,
5858
progression: arenabrawl.progression,
5959
currentLevel: arenabrawl.currentPrefix,

apps/discord-bot/src/commands/bedwars/bedwars.profile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const BedWarsProfile = ({
5656
badge={badge}
5757
sidebar={sidebar}
5858
title={`§l${FormattedGame.BEDWARS} §fStats §r(${mode.formatted})`}
59-
description={`§7Level: ${bedwars.levelFormatted}\n${formatProgression({
59+
description={`§7Level: ${bedwars.levelFormatted}\n§7EXP ${formatProgression({
6060
t,
6161
progression: bedwars.progression,
6262
currentLevel: bedwars.levelFormatted,

apps/discord-bot/src/commands/buildbattle/buildbattle.profile.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,15 @@ export const BuildBattleProfile = ({
6161
sidebar={sidebar}
6262
historicalSidebar
6363
title={`§l${FormattedGame.BUILD_BATTLE} §fStats`}
64-
description={`§7Title: ${buildbattle.titleFormatted}\n${formatProgression({
65-
t,
66-
progression: buildbattle.progression,
67-
currentLevel: buildbattle.titleFormatted,
68-
nextLevel: buildbattle.nextTitleFormatted,
69-
showLevelWhenMaxed: false,
70-
})}`}
64+
description={`§7Title: ${buildbattle.titleFormatted}\n§7Score ${formatProgression(
65+
{
66+
t,
67+
progression: buildbattle.progression,
68+
currentLevel: buildbattle.titleFormatted,
69+
nextLevel: buildbattle.nextTitleFormatted,
70+
showLevelWhenMaxed: false,
71+
}
72+
)}`}
7173
time={time}
7274
/>
7375
<Table.table>

apps/discord-bot/src/commands/duels/bridge.profile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const BridgeProfile = ({
5151
badge={badge}
5252
sidebar={sidebar}
5353
title={`§l${FormattedGame.BRIDGE} §fStats §r(${mode.formatted})`}
54-
description={`§7Title: ${bridge.titleFormatted}\n${formatProgression({
54+
description={`§7Title: ${bridge.titleFormatted}\n§7Win ${formatProgression({
5555
t,
5656
progression: bridge.progression,
5757
currentLevel: bridge.titleLevelFormatted,

apps/discord-bot/src/commands/duels/duels.profile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const DuelsProfile = ({
6868
badge={badge}
6969
sidebar={sidebar}
7070
title={`§l${FormattedGame.DUELS} §fStats §r(${mode.formatted})`}
71-
description={`§7Title: ${duels[api].titleFormatted}\n${formatProgression({
71+
description={`§7Title: ${duels[api].titleFormatted}\n§7Win ${formatProgression({
7272
t,
7373
progression: duels[api].progression,
7474
currentLevel: duels[api].titleLevelFormatted,

apps/discord-bot/src/commands/guild/guild.profile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ const GuildGexpPage = ({ guild, t }: GuildGexpPageProps) => {
238238

239239
const leveling = `§7${t("stats.guild.level")}: ${guildColor}${t(
240240
guild.level
241-
)}\n${formatProgression({
241+
)}\n§7GEXP ${formatProgression({
242242
t,
243243
progression: guild.levelProgression,
244244
currentLevel: `${guildColor}${t(Math.floor(guild.level))}`,

apps/discord-bot/src/commands/pit/pit.profile.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,8 @@ export const PitProfile = ({
4646
name={player.doc.colouredName}
4747
skin={skin}
4848
time="LIVE"
49-
title="§l§eThe §aPit §fStats"
50-
description={`${FormattedGame.PIT} §7Level: ${
51-
player.doc.formattedLevel
52-
}\n${formatProgression({
49+
title={`§l${FormattedGame.PIT} §fStats`}
50+
description={`§7Level: ${player.doc.formattedLevel}\n§7EXP ${formatProgression({
5351
t,
5452
progression: new Progression(
5553
player.xpProgress.displayCurrent,

apps/discord-bot/src/commands/skywars/skywars.profile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export const SkyWarsProfile = ({
141141
badge={badge}
142142
sidebar={sidebar}
143143
title={`§l${FormattedGame.SKYWARS} Stats §r(${mode.formatted})`}
144-
description={`§7Level: ${skywars.levelFormatted}\n${formatProgression({
144+
description={`§7Level: ${skywars.levelFormatted}\n§EXP ${formatProgression({
145145
t,
146146
progression: skywars.progression,
147147
currentLevel: skywars.levelFormatted,

apps/discord-bot/src/commands/speeduhc/speeduhc.profile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const SpeedUHCProfile = ({
5252
badge={badge}
5353
sidebar={sidebar}
5454
title={`§l${FormattedGame.SPEED_UHC} §fStats §r(${mode.formatted})`}
55-
description={`§7Level: ${speeduhc.levelFormatted}\n${formatProgression({
55+
description={`§7Level: ${speeduhc.levelFormatted}\n§7Score ${formatProgression({
5656
t,
5757
progression: speeduhc.progression,
5858
currentLevel: speeduhc.levelFormatted,

apps/discord-bot/src/commands/uhc/uhc.profile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const UHCProfile = ({
5151
badge={badge}
5252
sidebar={sidebar}
5353
title={`§l${FormattedGame.UHC} §fStats §r(${mode.formatted})`}
54-
description={`§7Level: ${uhc.levelFormatted}\n${formatProgression({
54+
description={`§7Level: ${uhc.levelFormatted}\n§7Score ${formatProgression({
5555
t,
5656
progression: uhc.progression,
5757
currentLevel: uhc.levelFormatted,

0 commit comments

Comments
 (0)