aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/common/AutoMod.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/common/AutoMod.ts b/src/lib/common/AutoMod.ts
index 6e2881c..1bc26fb 100644
--- a/src/lib/common/AutoMod.ts
+++ b/src/lib/common/AutoMod.ts
@@ -33,6 +33,8 @@ export class AutoMod {
private async handle() {
if (this.message.channel.type === 'DM' || !this.message.guild) return;
if (!(await this.message.guild.hasFeature('automod'))) return;
+ if (this.message.author.bot) return;
+ if (this.message.author.isOwner()) return;
const customAutomodPhrases = (await this.message.guild.getSetting('autoModPhases')) ?? {};
const badLinks: BadWords = {};