From 50bc5429c18e1833c3de1c99f94fe9437c1ff532 Mon Sep 17 00:00:00 2001 From: almeidx Date: Sun, 29 Aug 2021 12:37:19 +0100 Subject: [PATCH] made the option nullable --- backend/src/plugins/Automod/actions/reply.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/plugins/Automod/actions/reply.ts b/backend/src/plugins/Automod/actions/reply.ts index b87ccea4..70527f0b 100644 --- a/backend/src/plugins/Automod/actions/reply.ts +++ b/backend/src/plugins/Automod/actions/reply.ts @@ -24,7 +24,7 @@ export const ReplyAction = automodAction({ t.type({ text: tMessageContent, auto_delete: tNullable(t.union([tDelayString, t.number])), - use_inline_reply: t.boolean, + use_inline_reply: tNullable(t.boolean), }), ]),