mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-06-07 08:05:01 +00:00
fix: set_slowmode action config schema disallowing empty channels list
This commit is contained in:
parent
8c2058821f
commit
35f5deb19a
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import { automodAction } from "../helpers.js";
|
|||
|
||||
export const SetSlowmodeAction = automodAction({
|
||||
configSchema: z.strictObject({
|
||||
channels: z.array(zSnowflake),
|
||||
channels: z.array(zSnowflake).nullable().default([]),
|
||||
duration: zDelayString.nullable().default("10s"),
|
||||
}),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue