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

Commit bb9ea00

Browse files
committed
fix(blacklist): i fix the brok field desc OwO .-
1 parent 4e10373 commit bb9ea00

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

src/commands/context-menu/blacklist.ts

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { colors, emojis } from '../../utils/Constants.js';
2121
import { CustomID } from '../../utils/CustomID.js';
2222
import { RegisterInteractionHandler } from '../../decorators/Interaction.js';
2323
import { simpleEmbed } from '../../utils/Utils.js';
24+
import { stripIndents } from 'common-tags';
2425

2526
export default class Blacklist extends BaseCommand {
2627
data: RESTPostAPIApplicationCommandsJSONBody = {
@@ -59,18 +60,11 @@ export default class Blacklist extends BaseCommand {
5960
const embed = new EmbedBuilder()
6061
.setTitle('Create A Blacklist')
6162
.setColor(colors.invisible)
62-
.setFields(
63-
{
64-
name: t({ phrase: 'blacklist.fields.user', locale }, { server: `${server?.name}` }),
65-
value: t({ phrase: 'blacklist.fields.userValue', locale }, { user: user.username }),
66-
inline: true,
67-
},
68-
{
69-
name: t({ phrase: 'blacklist.fields.server', locale }),
70-
value: t({ phrase: 'blacklist.fields.serverValue', locale }),
71-
inline: true,
72-
},
73-
);
63+
.setFooter({ text: t({ phrase: 'blacklist.embed.footer', locale }) })
64+
.setDescription(stripIndents`
65+
**${t({ phrase: 'blacklist.embed.user', locale })}:** ${emojis.arrow} ${t({ phrase: 'blacklist.embed.userValue', locale }, { user: user.username })}
66+
**${t({ phrase: 'blacklist.embed.server', locale })}:** ${emojis.arrow} ${t({ phrase: 'blacklist.embed.serverValue', locale }, { server: `${server?.name}` })}
67+
`);
7468

7569
const buttons = new ActionRowBuilder<ButtonBuilder>().addComponents(
7670
new ButtonBuilder()

0 commit comments

Comments
 (0)