aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/utilities/highlight-show.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/utilities/highlight-show.ts b/src/commands/utilities/highlight-show.ts
index bed8f19..2ed5ed1 100644
--- a/src/commands/utilities/highlight-show.ts
+++ b/src/commands/utilities/highlight-show.ts
@@ -23,7 +23,8 @@ export default class HighlightShowCommand extends BushCommand {
void this.client.highlightManager.syncCache();
- if (!highlight.words.length) return message.util.reply(`${emojis.error} You are not highlighting any words.`);
+ if (!highlight.words.length && highlight.blacklistedChannels.length < 1 && highlight.blacklistedUsers.length < 1)
+ return message.util.reply(`${emojis.error} You are not highlighting any words.`);
const embed = new EmbedBuilder()
.setTitle('Highlight List')