Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit 2132310

Browse files
committed
fix(blacklist): only use icons for Apps > Blacklist buttons
1 parent 70d3524 commit 2132310

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

locales

src/commands/context-menu/blacklist.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ export default class Blacklist extends BaseCommand {
5757
const user = await interaction.client.users.fetch(messageInDb.originalMsg.authorId);
5858

5959
const embed = new EmbedBuilder()
60-
.setTitle('Blacklist')
60+
.setTitle('Create A Blacklist')
6161
.setColor(colors.invisible)
6262
.setFields(
6363
{
64-
name: '🏠 Server',
65-
value: `Blacklist server **${server?.name}** from this hub.`,
64+
name: t({ phrase: 'blacklist.fields.user', locale }, { server: `${server?.name}` }),
65+
value: t({ phrase: 'blacklist.fields.userValue', locale }, { user: user.username }),
6666
inline: true,
6767
},
6868
{
69-
name: '👤 User',
70-
value: `Blacklist user **${user?.username}** from this hub.`,
69+
name: t({ phrase: 'blacklist.fields.server', locale }),
70+
value: t({ phrase: 'blacklist.fields.serverValue', locale }),
7171
inline: true,
7272
},
7373
);
@@ -81,7 +81,6 @@ export default class Blacklist extends BaseCommand {
8181
.addArgs(messageInDb.originalMsgId)
8282
.toString(),
8383
)
84-
.setLabel(t({ phrase: 'blacklist.button.user', locale }))
8584
.setStyle(ButtonStyle.Secondary)
8685
.setEmoji('👤'),
8786
new ButtonBuilder()
@@ -92,7 +91,6 @@ export default class Blacklist extends BaseCommand {
9291
.addArgs(messageInDb.originalMsgId)
9392
.toString(),
9493
)
95-
.setLabel(t({ phrase: 'blacklist.button.server', locale }))
9694
.setStyle(ButtonStyle.Secondary)
9795
.setEmoji('🏠'),
9896
);

0 commit comments

Comments
 (0)