3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-06-08 16:15:04 +00:00

fix: automod types

This commit is contained in:
Dragory 2024-01-15 22:39:27 +00:00
parent 5a5be89573
commit e4b098b563
No known key found for this signature in database
3 changed files with 9 additions and 9 deletions

View file

@ -16,7 +16,7 @@ interface TMessageSpamMatchResultType {
const configSchema = z.strictObject({
amount: z.number().int(),
within: zDelayString,
per_channel: z.boolean().optional(),
per_channel: z.boolean().nullable().default(false),
});
export function createMessageSpamTrigger(spamType: RecentActionType, prettyName: string) {