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

mName is not defined #2

Closed
unkl opened this issue Apr 6, 2012 · 8 comments
Closed

mName is not defined #2

unkl opened this issue Apr 6, 2012 · 8 comments

Comments

@unkl
Copy link

unkl commented Apr 6, 2012

getting this error on startup: ReferenceError: mName is not defined

Any suggestions?

@oldramen
Copy link
Owner

oldramen commented Apr 7, 2012

You'll need to configure the config. Wow that sentence was redundant. In
config.js, you define mName adbthe bots name.
On Apr 6, 2012 4:40 PM, "lastword" <
reply@reply.github.com>
wrote:

getting this error on startup: ReferenceError: mName is not defined

Any suggestions?


Reply to this email directly or view it on GitHub:
#2

@unkl
Copy link
Author

unkl commented Apr 7, 2012

global.mName = "#Amy"; //name of bot

?

@oldramen
Copy link
Owner

oldramen commented Apr 7, 2012

That's it. That looks defined though. Are you running node config.js?
On Apr 6, 2012 6:46 PM, "lastword" <
reply@reply.github.com>
wrote:

global.mName = "#Amy"; //name of bot

?


Reply to this email directly or view it on GitHub:
#2 (comment)

@unkl
Copy link
Author

unkl commented Apr 7, 2012

i am now! thanks. now to get it to show up in the room

Loading.
Initializing.
Loading up with the Auth ID: {auth+live+xxx} and userid: {xxx} into roomid: {xxx}.
Done.
Hooking events.
Done.

after that hes a no-show.

@oldramen
Copy link
Owner

oldramen commented Apr 7, 2012

It looks like it's canceling before it connects to the database. If you
don't have one installed I would turn it off in the config.
On Apr 6, 2012 7:41 PM, "lastword" <
reply@reply.github.com>
wrote:

i am now! thanks. now to get it to show up in the room

Loading.
Initializing.
Loading up with the Auth ID: {auth+live+xxx} and userid: {xxx} into
roomid: {xxx}.
Done.
Hooking events.
Done.

after that hes a no-show.


Reply to this email directly or view it on GitHub:
#2 (comment)

@unkl
Copy link
Author

unkl commented Apr 7, 2012

looked for true/false for database in config? do not see one.

@oldramen
Copy link
Owner

oldramen commented Apr 7, 2012

Oh sorry, it's in main.js

global.mMongoDB

change that to false, and it should skip the database stuff :D

@unkl
Copy link
Author

unkl commented Apr 7, 2012

everything worked great, thanks for your help.

One more question. I would like to use just the afk enforcement that amy does for a different room. I should be able to extract that fairly easy?

@unkl unkl closed this as completed Apr 8, 2012
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