12 lines
331 B
TypeScript
12 lines
331 B
TypeScript
![]() |
import * as t from "io-ts";
|
||
|
import { automodAction } from "../helpers";
|
||
|
import { setAntiraidLevel } from "../functions/setAntiraidLevel";
|
||
|
|
||
|
export const SetAntiraidLevelAction = automodAction({
|
||
|
configType: t.string,
|
||
|
|
||
|
async apply({ pluginData, contexts, actionConfig }) {
|
||
|
setAntiraidLevel(pluginData, actionConfig);
|
||
|
},
|
||
|
});
|