aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/listeners/message/automodCreate.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/listeners/message/automodCreate.ts b/src/listeners/message/automodCreate.ts
index 2584c21..c69245a 100644
--- a/src/listeners/message/automodCreate.ts
+++ b/src/listeners/message/automodCreate.ts
@@ -53,6 +53,7 @@ export default class AutomodMessageCreateListener extends BushListener {
moderator: message.guild.me,
reason: 'Saying a blacklisted word.'
});
+
break;
}
case 2: {
@@ -75,6 +76,11 @@ export default class AutomodMessageCreateListener extends BushListener {
}
}
+ void client.console.info(
+ 'AutoMod',
+ `Severity <<${highestOffence}>> action performed on <<${message.author.tag}>> (<<${message.author.id}>>) in <<${message.guild.name}>>`
+ );
+
const color =
highestOffence === 0
? util.colors.lightGray