3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-19 08:05:01 +00:00

fix: tweaks to config types

This commit is contained in:
Dragory 2024-01-27 12:46:48 +02:00
parent 6110b8190c
commit b0a9cf1bcd
No known key found for this signature in database
5 changed files with 8 additions and 6 deletions

View file

@ -27,7 +27,7 @@ import { automodAction } from "../helpers";
const configSchema = z.object({
channel: zSnowflake,
text: zBoundedCharacters(1, 4000),
text: zBoundedCharacters(0, 4000),
allowed_mentions: zNullishToUndefined(zAllowedMentions.nullable().default(null)),
});