mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +00:00
fix(automod): always break triggerLoop on match, even if allow_further_rules is enabled
This commit is contained in:
parent
c0c73751c9
commit
5e25792734
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ export async function runAutomod(pluginData: GuildPluginData<AutomodPluginType>,
|
||||||
performance.now() - triggerStartTime,
|
performance.now() - triggerStartTime,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (matchResult && !rule.allow_further_rules) {
|
if (matchResult) {
|
||||||
break triggerLoop;
|
break triggerLoop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue