diff options
-rw-r--r-- | src/listeners/message/highlight.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/message/highlight.ts b/src/listeners/message/highlight.ts index c751ad5..c3a6ce0 100644 --- a/src/listeners/message/highlight.ts +++ b/src/listeners/message/highlight.ts @@ -12,7 +12,7 @@ export default class HighlightListener extends BushListener { public override async exec(...[message]: BushClientEvents['messageCreate']) { if (!message.inGuild()) return; if (message.author.bot || message.system) return; - if (!(await message.guild.hasFeature('highlight'))) return; // allows highlighting to be disabled on a guild-by-guild basis + if (!((await message.guild.hasFeature('highlight')) && !message.author.isOwner())) return; // allows highlighting to be disabled on a guild-by-guild basis const res = client.highlightManager.checkMessage(message); |