Batch Process?
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. */
You make javascript files related to the bot features you want it to load in the set-up phase and then below this note, /* Something right here that would run the other files in the command prompt. */, you put the names of the javascript files.
Are you trying to make a bot army? What are the other files you are trying to run?
@mnafricano you probably shouldn't post your AUTH... I just hijacked your bot with my message bot and left a message for Clinr that your bot was hijacked... heh... fun.
Wow how sad is my life... :( sighs
I'm dumb as hell for doing this again. I gotta wake the hell up before I open an issue or issue a pull request.
Also, no, I have a bot with the account name Song Stats: and I use "/me # :+1: # :-1: # :heart:" to show the song stats after a song plays. The song stats bot doesn't have any features other than that but the Storm Trooper bot collaborates with the Song Stats: as sort of a 'team' so I just wanted to be able to run them at the same time. @DubbyTT
Thanks in advance!