Skip to content
This repository has been archived by the owner on Nov 13, 2019. It is now read-only.
/ catalysts-bot Public archive

Bringing back the glorious lunchbot! 🍴

License

Notifications You must be signed in to change notification settings

Catalysts/catalysts-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catalysts Bot

🐮 🍣 🍔 🍝 🍲

Bringing back the glorious lunchbot! And more stuff!

🍚 🍏 🍻 🍴 🍗

Features

Lunch

Ask the bot whats for lunch today. It understands locations (linz/vienna/cluj), so you can ask @cat-lunch-bot linz.

Books

Have you ever found an interesting book and wondered whether we have a copy in our library? The bot can help you answer this question, simply ask @cat-lunch-bot do we have the book 0132350882. The bot will look into our goodreads shelves and lets you know whether we have it or not.

How to

Just add the bot as contact in Skype (it is not published yet, so use the link here). In group chats use @cat-lunch-bot to talk to it.

Contributing

Feel free to submit pull requests with more lunch commands!

Add a new menu

Add a file xyz.js to 'menus'. Use this template:

module.exports = {
	intent: "your intent",				//the intent to match
	location: "your location",			//the location: "linz", "vienna" or "cluj"
	menu: function(callback) {...}		//a function that parses the menu from somewhere
}

All js files in 'menus' will be loaded automatically (except if the file starts with an underscore '_').

Testing

First, run the bot

npm run-script run

then, use the Microsoft Bot Framework Emulator and connect to it.

Unit Tests

npm test

Releases

No releases published

Packages

No packages published

Languages