This is just for fun. Doesn't work very well yet. Try again next time.
npm install
- Copy
config.json.example
toconfig.json
. - Fill in
config.json
with your data:
token
should be your Slack Bot API token.brain
should be a path to a directory containing.aiml
files.food_options
should be an array of places to eat.markov_brain
should be the path to a text file
Stick some AIML files in your brain
directory to add logic to the Surly2 interpreter.
If someone says "food" either directly to Surly or as a mention, Surly will respond with a random item from food_options
.
If someone says anything else directly to Surly or as a mention, Surly will attempt to respond using the Surly2 interpreter. If no response is found, a response will be created using a Markov chain generated from markov_brain
.