Newer
Older
ai-team / main.js
@楽曲作りまくりおじさん 楽曲作りまくりおじさん on 31 May 2024 312 bytes first commit
import dotenv from 'dotenv';
import * as searchReporter from './agents/search_reporter.js';

dotenv.config();

let executable = true;

async function process(){
    if(executable){
        executable = false;
        await searchReporter.work();
        executable = true;
    }
}

setInterval(process, 10000);