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:
parent
ff3c02bcec
commit
2569513c6c
4 changed files with 8 additions and 8 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue