From 06c536e10415d2e6184aa673fef9c43001c4dbe2 Mon Sep 17 00:00:00 2001 From: metal Date: Sat, 21 Aug 2021 14:49:31 +0000 Subject: [PATCH] fix unsafe values error --- backend/src/plugins/CustomEvents/CustomEventsPlugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/plugins/CustomEvents/CustomEventsPlugin.ts b/backend/src/plugins/CustomEvents/CustomEventsPlugin.ts index 009bf5a6..391ee191 100644 --- a/backend/src/plugins/CustomEvents/CustomEventsPlugin.ts +++ b/backend/src/plugins/CustomEvents/CustomEventsPlugin.ts @@ -51,7 +51,7 @@ export const CustomEventsPlugin = zeppelinGuildPlugin()( } const values = createTypedTemplateSafeValueContainer({ - ...args, + ...safeArgs, msg: messageToTemplateSafeMessage(message), });