3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 20:35:02 +00:00
zeppelin/backend/src/plugins/Automod/actions/exampleAction.ts

12 lines
262 B
TypeScript

import * as t from "io-ts";
import { automodAction } from "../helpers";
export const ExampleAction = automodAction({
configType: t.type({
someValue: t.string,
}),
async apply({ pluginData, contexts, actionConfig }) {
// TODO: Everything
},
});