Steam-Chat-Bot / node-steam-chat-bot

Simplified interface for a steam chat bot
MIT License
102 stars 35 forks source link

Bot wont load. #110

Closed Ahmedstien closed 8 years ago

Ahmedstien commented 9 years ago

I am not sure why this bug is happening.

kjsmita6 commented 9 years ago

Can you please provide code for your bot file, which looks like examples/bot.js.

Ahmedstien commented 9 years ago

over-long config file moved here. --@Efreak

Ahmedstien commented 9 years ago

re installed everything and the copied over my bot details+ trigger folder then this bug happened

Efreak commented 9 years ago

Please make sure you're up to date. So far as I know, we're not using underscore anymore, in favor of using lodash instead.

If you're using a git repo instead of an npm install, and you're worried about stability, the current state of the development branch is only a few commits ahead of master and should be stable. If not, ignore this information.

Regarding your posts: I moved your config file to a gist. Please do this for long sections of code in the future; just go to https://gist.github.com and fill out the form; for shorter sections of code, please either indent them by four spaces or put a line with triple backticks (```) at the top and bottom (so github displays them as code). I also switched your images to display inline; if you view the edited comments, you'll see how to do this yourself in the future (only recommended for small images).

kjsmita6 commented 9 years ago

The first line of baseTrigger, which is where that error is occurring, has the line var _ = require('lodash');, not require('underscore');. Please update the repo:

npm update steam-chat-bot

Efreak commented 8 years ago

I'm assuming the problem here is solved. Closing.