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:
parent
6110b8190c
commit
b0a9cf1bcd
5 changed files with 8 additions and 6 deletions
|
@ -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)),
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue