Merge branch 'main' into command-refactor

This commit is contained in:
MaxRobinsonTheGreat 2023-11-07 09:48:18 -06:00
commit 1d84f332bb

4
act.js
View file

@ -1,4 +1,4 @@
import { writeFile } from 'fs'; import { writeFileSync } from 'fs';
import { getDetailedSkills, getWorldFunctions } from './utils/context.js'; import { getDetailedSkills, getWorldFunctions } from './utils/context.js';
import { sendRequest } from './utils/gpt.js'; import { sendRequest } from './utils/gpt.js';
@ -87,7 +87,7 @@ export async function executeCode(bot) {
} }
src += `}\n`; src += `}\n`;
writeFile('./temp.js', src, (err) => { writeFileSync('./temp.js', src, (err) => {
if (err) throw err; if (err) throw err;
}); });