Eloy is a slack-bot that can do home automation and assist you with a range of tasks.
- Get weather information
Whats the weather like in Spain?
/What is the current temperature in Amsterdam?
###Advice
- Let Eloy give you some advice (random or on a specific subject)
Could you give me some advice
/Could you give me some advice about spiders?
###Date/Time
- Current date
What's today's date?
/What date is it today?
- Current time
What time is it right now?
/What time is it?
- Day of the week
What day are we on?
/What day of the week is it?
###CouchPotato
- Search movies
Find me a movie called Deadpool
/Do you know any batman movies?
- Get logs
Show me the last error on couchpotato
/Show me the last 10 logs on cp
###SABnzb
- Get queue
Show me my sabnzb queue.
/How are my downloads doing on sabnzb?
cd
to desired install location.git clone https://github.com/fschaal/eloy-bot.git
npm install
- If not already, create a bot on slack
https://{yourteam}.slack.com/apps/manage/custom-integrations
- Fork the Eloy wit.ai repository
https://wit.ai/fschaal/eloy-bot
- Set environment variable (API-Key, url, ect) for the modules you would like to use. Note: SLACK_TOKEN is required for the bot to start and the WIT_TOKEN is required in order to process any sentences.
npm start
- Talk to Eloy on Slack :) Eloy will be triggered by mention or direct-message.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D