mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-06-16 11:05:03 +00:00
fix: log automod by default
This commit is contained in:
parent
9741bffec5
commit
b91a068e03
1 changed files with 12 additions and 0 deletions
|
@ -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()) {
|
if (profilingEnabled()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue