From ee0007fa6ccdf43e6c38f167134c2fa929989d62 Mon Sep 17 00:00:00 2001 From: Shoaib Sajid Date: Thu, 27 May 2021 16:48:49 +0500 Subject: [PATCH] Update types.ts --- backend/src/plugins/Spam/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/plugins/Spam/types.ts b/backend/src/plugins/Spam/types.ts index 9d4e0567..f939d529 100644 --- a/backend/src/plugins/Spam/types.ts +++ b/backend/src/plugins/Spam/types.ts @@ -12,7 +12,7 @@ const BaseSingleSpamConfig = t.type({ mute: tNullable(t.boolean), mute_time: tNullable(t.number), remove_roles_on_mute: tNullable(t.union([t.boolean, t.array(t.string)])), - restore_roles_on_mute: tNullable(t.union([t.boolean, t.array(t.string)])), + restore_roles_on_unmute: tNullable(t.union([t.boolean, t.array(t.string)])), clean: tNullable(t.boolean), }); export type TBaseSingleSpamConfig = t.TypeOf;