From 4eea36bbece3db6272de04f9f42504a3066d2877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=93=E3=81=8B=E3=82=8A?= <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Tue, 26 Nov 2024 09:21:43 +0900 Subject: [PATCH] Update api.ts --- packages/frontend/src/scripts/aiscript/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/scripts/aiscript/api.ts b/packages/frontend/src/scripts/aiscript/api.ts index 8d254356cf..602b6d00ba 100644 --- a/packages/frontend/src/scripts/aiscript/api.ts +++ b/packages/frontend/src/scripts/aiscript/api.ts @@ -92,7 +92,7 @@ export function createAiScriptEnv(opts) { utils.assertString(text); return values.STR(Misskey.nyaize(text.value)); }), - 'Mk:replaceMfm': values.FN_NATIVE(async ([text, fn], opts) => { + 'Mfm:replaceTextNode': values.FN_NATIVE(async ([text, fn], opts) => { utils.assertString(text); utils.assertFunction(fn);