aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities/highlight-show.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/utilities/highlight-show.ts')
-rw-r--r--src/commands/utilities/highlight-show.ts36
1 files changed, 16 insertions, 20 deletions
diff --git a/src/commands/utilities/highlight-show.ts b/src/commands/utilities/highlight-show.ts
index 48b4971..301d719 100644
--- a/src/commands/utilities/highlight-show.ts
+++ b/src/commands/utilities/highlight-show.ts
@@ -36,27 +36,23 @@ export default class HighlightShowCommand extends BushCommand {
.setColor(colors.default);
if (highlight.blacklistedChannels.length)
- embed.addFields([
- {
- name: 'Ignored Channels',
- value: highlight.blacklistedChannels
- .map((c) => `<#${c}>`)
- .join('\n')
- .substring(0, 1024),
- inline: true
- }
- ]);
+ embed.addFields({
+ name: 'Ignored Channels',
+ value: highlight.blacklistedChannels
+ .map((c) => `<#${c}>`)
+ .join('\n')
+ .substring(0, 1024),
+ inline: true
+ });
if (highlight.blacklistedUsers.length)
- embed.addFields([
- {
- name: 'Ignored Users',
- value: highlight.blacklistedUsers
- .map((u) => `<@!${u}>`)
- .join('\n')
- .substring(0, 1024),
- inline: true
- }
- ]);
+ embed.addFields({
+ name: 'Ignored Users',
+ value: highlight.blacklistedUsers
+ .map((u) => `<@!${u}>`)
+ .join('\n')
+ .substring(0, 1024),
+ inline: true
+ });
return await message.util.reply({ embeds: [embed], allowedMentions: AllowedMentions.none() });
}