add a minimum

This commit is contained in:
Will Hunt 2024-09-19 16:01:35 +01:00
parent 38580c7a46
commit b9d4f21786

View File

@ -25,7 +25,7 @@ const USER_ID_REGEX = /@[^:]*:.+/;
export class MentionSpam extends Protection {
settings = {
maxMentions: new NumberProtectionSetting(DEFAULT_MAX_MENTIONS),
maxMentions: new NumberProtectionSetting(DEFAULT_MAX_MENTIONS, 1),
};
constructor() {