added agent_code folder

This commit is contained in:
MaxRobinsonTheGreat 2023-11-07 12:48:26 -06:00
parent 7a37757b69
commit eb885c02b5
2 changed files with 7 additions and 1 deletions

2
.gitignore vendored
View file

@ -5,4 +5,4 @@ temp.js
scratch.js
# ignore eveything in agent_code except for 0.js
agent_code/**
!agent_code/0.js
!agent_code/template.js

6
agent_code/template.js Normal file
View file

@ -0,0 +1,6 @@
import * as skills from '../utils/skills.js';
import * as world from '../utils/world.js';
export async function main(bot) {
// agent's code goes here
}