Fix antiraid_level override
This commit is contained in:
parent
72637fe1b3
commit
8ab6538744
1 changed files with 4 additions and 2 deletions
|
@ -169,8 +169,10 @@ export const AutomodPlugin = zeppelinGuildPlugin<AutomodPluginType>()({
|
|||
defaultOptions,
|
||||
configPreprocessor,
|
||||
|
||||
customOverrideMatcher(pluginData, criteria, matchParams) {
|
||||
return criteria?.antiraid_level ? criteria.antiraid_level === pluginData.state.cachedAntiraidLevel : false;
|
||||
customOverrideCriteriaFunctions: {
|
||||
antiraid_level: (pluginData, matchParams, value) => {
|
||||
return value ? value === pluginData.state.cachedAntiraidLevel : false;
|
||||
},
|
||||
},
|
||||
|
||||
// prettier-ignore
|
||||
|
|
Loading…
Add table
Reference in a new issue