Closed Ahmedstien closed 8 years ago
Can you please provide code for your bot file, which looks like examples/bot.js.
over-long config file moved here. --@Efreak
re installed everything and the copied over my bot details+ trigger folder then this bug happened
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).
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
I'm assuming the problem here is solved. Closing.
I am not sure why this bug is happening.