おこがましい名前に変更

This commit is contained in:
ThinaticSystem 2022-06-19 00:29:58 +09:00
parent 6085ae1b87
commit fbe42927df

View File

@ -39,7 +39,7 @@ export function createAiScriptEnv(opts) {
utils.assertString(key);
return utils.jsToVal(JSON.parse(localStorage.getItem('aiscript:' + opts.storageKey + ':' + key.value)));
}),
'Mk:restApi': values.FN_NATIVE(async ([url, method, body, headers]) => {
'Mk:fetch': values.FN_NATIVE(async ([url, method, body, headers]) => {
const init: {method?: string, body?: string, headers?: Headers} = new Object();
utils.assertString(url);
if (method) {