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

Fixed config parsing error with tags

This commit is contained in:
Lily Bergonzat 2024-02-17 22:06:02 +01:00
parent cafcc2839e
commit b428e18fc7

View file

@ -4,9 +4,9 @@ import { GuildArchives } from "../../data/GuildArchives";
import { GuildLogs } from "../../data/GuildLogs";
import { GuildSavedMessages } from "../../data/GuildSavedMessages";
import { GuildTags } from "../../data/GuildTags";
import { zEmbedInput } from "../../utils";
import { zBoundedCharacters, zStrictMessageContent } from "../../utils";
export const zTag = z.union([z.string(), zEmbedInput]);
export const zTag = z.union([zBoundedCharacters(0, 4000), zStrictMessageContent]);
export type TTag = z.infer<typeof zTag>;
export const zTagCategory = z