3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Limit reason to 512 characters

This commit is contained in:
iamshoXy 2024-04-19 18:37:54 +02:00
parent 7be9274610
commit 8da0529b60

View file

@ -25,9 +25,9 @@ export const zModActionsConfig = z.strictObject({
tempban_message: z.nullable(z.string()), tempban_message: z.nullable(z.string()),
default_reasons: z.nullable( default_reasons: z.nullable(
z.object({ z.object({
mute: z.string(), mute: z.string().max(512).nullable(),
kick: z.string(), kick: z.string().max(512).nullable(),
ban: z.string(), ban: z.string().max(512).nullable(),
}), }),
), ),
alert_on_rejoin: z.boolean(), alert_on_rejoin: z.boolean(),