aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/message
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-25 23:03:02 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-25 23:03:02 -0500
commit866cd2c23eaa3918d01806556ea71f6c7b378ca7 (patch)
tree1d4f4ca50bb15996ad60ad36ec2cea2bc6b8ef4c /src/listeners/message
parent1d6e64d5c43e4398e7c0488f114acba2c8a55164 (diff)
downloadtanzanite-866cd2c23eaa3918d01806556ea71f6c7b378ca7.tar.gz
tanzanite-866cd2c23eaa3918d01806556ea71f6c7b378ca7.tar.bz2
tanzanite-866cd2c23eaa3918d01806556ea71f6c7b378ca7.zip
fix: misc
Diffstat (limited to 'src/listeners/message')
-rw-r--r--src/listeners/message/highlight.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/message/highlight.ts b/src/listeners/message/highlight.ts
index d3d7bfb..c751ad5 100644
--- a/src/listeners/message/highlight.ts
+++ b/src/listeners/message/highlight.ts
@@ -11,7 +11,7 @@ export default class HighlightListener extends BushListener {
public override async exec(...[message]: BushClientEvents['messageCreate']) {
if (!message.inGuild()) return;
- if (message.author.bot) 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
const res = client.highlightManager.checkMessage(message);