3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-06-17 03:25:01 +00:00

fix: more config type fixes for custom_events

This commit is contained in:
Dragory 2025-05-31 23:14:33 +00:00
parent ff3c02bcec
commit 2569513c6c
No known key found for this signature in database
4 changed files with 8 additions and 8 deletions

View file

@ -2,13 +2,13 @@ import { PermissionsBitField, PermissionsString, Snowflake } from "discord.js";
import { GuildPluginData } from "knub";
import z from "zod/v4";
import { TemplateSafeValueContainer } from "../../../templateFormatter.js";
import { zSnowflake } from "../../../utils.js";
import { zBoundedCharacters, zSnowflake } from "../../../utils.js";
import { ActionError } from "../ActionError.js";
import { CustomEventsPluginType, TCustomEvent } from "../types.js";
export const zSetChannelPermissionOverridesAction = z.strictObject({
type: z.literal("set_channel_permission_overrides"),
channel: zSnowflake,
channel: zBoundedCharacters(0, 100),
overrides: z
.array(
z.strictObject({