3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-06-15 18:45:03 +00:00

fix: log automod by default

This commit is contained in:
Dragory 2025-06-01 00:28:45 +00:00
parent 9741bffec5
commit b91a068e03
No known key found for this signature in database

View file

@ -164,6 +164,18 @@ export async function runAutomod(pluginData: GuildPluginData<AutomodPluginType>,
);
}
}
// Log all automod rules by default
if (rule.actions.log == null) {
availableActions.log.apply({
ruleName,
pluginData,
contexts,
actionConfig: true,
matchResult,
prettyName,
});
}
}
if (profilingEnabled()) {