Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch Process? #214

Open
mnafricano opened this issue Jun 2, 2013 · 5 comments
Open

Batch Process? #214

mnafricano opened this issue Jun 2, 2013 · 5 comments

Comments

@mnafricano
Copy link
Contributor

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. */
@ghost
Copy link

ghost commented Jun 2, 2013

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.

@technobly
Copy link
Contributor

Are you trying to make a bot army? What are the other files you are trying to run?

@technobly
Copy link
Contributor

@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

@mnafricano
Copy link
Contributor Author

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.

@mnafricano
Copy link
Contributor Author

Also, no, I have a bot with the account name Song Stats: and I use "/me # 👍 # 👎 # ❤️" 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants