automod: if a rule is on cooldown, allow rules after it to trigger
This commit is contained in:
parent
4f66f004d5
commit
acfbb19b3f
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ export async function runAutomod(pluginData: GuildPluginData<AutomodPluginType>,
|
|||
if (!rule.affects_bots && (!user || user.bot) && !context.counterTrigger) continue;
|
||||
|
||||
if (rule.cooldown && checkAndUpdateCooldown(pluginData, rule, context)) {
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
let matchResult: AutomodTriggerMatchResult<any> | null | undefined;
|
||||
|
|
Loading…
Add table
Reference in a new issue