3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-14 21:31:50 +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()),
default_reasons: z.nullable(
z.object({
mute: z.string(),
kick: z.string(),
ban: z.string(),
mute: z.string().max(512).nullable(),
kick: z.string().max(512).nullable(),
ban: z.string().max(512).nullable(),
}),
),
alert_on_rejoin: z.boolean(),