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, 20 insertions, 16 deletions
diff --git a/src/commands/utilities/highlight-show.ts b/src/commands/utilities/highlight-show.ts
index 962d421..37ed6f6 100644
--- a/src/commands/utilities/highlight-show.ts
+++ b/src/commands/utilities/highlight-show.ts
@@ -41,23 +41,27 @@ export default class HighlightShowCommand extends BushCommand {
.setColor(util.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],