3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-11 04:45:02 +00:00

automod: add default configs for actions

This commit is contained in:
Dragory 2020-07-30 01:45:14 +03:00
parent 6324b9654b
commit ae97a5dded
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
16 changed files with 64 additions and 19 deletions

View file

@ -4,6 +4,7 @@ import { LogType } from "../../../data/LogType";
export const CleanAction = automodAction({
configType: t.boolean,
defaultConfig: false,
async apply({ pluginData, contexts }) {
const messageIdsToDeleteByChannelId: Map<string, string[]> = new Map();