From 30f9aa121c73f57760e2c3fc84edd9cb4c8d3237 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Sun, 16 Jul 2023 22:36:10 +0900 Subject: [PATCH] [feat] added <> handling --- src/ts/process/scripts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/process/scripts.ts b/src/ts/process/scripts.ts index b517c4ba..cc3417c8 100644 --- a/src/ts/process/scripts.ts +++ b/src/ts/process/scripts.ts @@ -143,7 +143,7 @@ export function processScriptFull(char:character|groupChat, data:string, mode:Sc } -const rgx = /{{(.+?)}}/gm +const rgx = /(?:{{|<)(.+?)(?:}}|>)/gm export function risuChatParser(da:string, arg:{ chatID?:number db?:Database