Skip to content

Commit 062f0d1

Browse files
committed
feat: reduce default loose_matching_threshold to 1 to avoid false positives
1 parent b62a7a3 commit 062f0d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/src/plugins/Automod/triggers/matchWords.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const configSchema = z.strictObject({
1919
only_full_words: z.boolean().default(true),
2020
normalize: z.boolean().default(false),
2121
loose_matching: z.boolean().default(false),
22-
loose_matching_threshold: z.number().int().default(4),
22+
loose_matching_threshold: z.number().int().default(1),
2323
strip_markdown: z.boolean().default(false),
2424
match_messages: z.boolean().default(true),
2525
match_embeds: z.boolean().default(false),

0 commit comments

Comments
 (0)