Skip to content

Commit

Permalink
Update api.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkokari-gtyih authored Nov 26, 2024
1 parent d43a7b9 commit 4eea36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/scripts/aiscript/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 4eea36b

Please sign in to comment.