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:
parent
7be9274610
commit
8da0529b60
1 changed files with 3 additions and 3 deletions
|
@ -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(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue