Skip to content

Batch Process? #214

@mnafricano

Description

@mnafricano

I felt like I saw this issue in here before but I looked through the list of issues just now, and I didn't catch one that said batch process or multiple files.

What I was wondering was, how do I use one JavaScript file, like this:

// Initial Setup
var Bot = require('ttapi');
var AUTH = 'xxxxxxxxxxxxxxxxxxxxxxxx';
var USERID = '518dd6d1aaa5cd34f8e337d1';
var ROOMID = '517e6f80eb35c118d013447c';
var bot = new Bot(AUTH, USERID, ROOMID);

/* Something right here that would run the other files in the command prompt. */

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions