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);