We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c20588 commit 35f5debCopy full SHA for 35f5deb
backend/src/plugins/Automod/actions/setSlowmode.ts
@@ -6,7 +6,7 @@ import { automodAction } from "../helpers.js";
6
7
export const SetSlowmodeAction = automodAction({
8
configSchema: z.strictObject({
9
- channels: z.array(zSnowflake),
+ channels: z.array(zSnowflake).nullable().default([]),
10
duration: zDelayString.nullable().default("10s"),
11
}),
12
0 commit comments