Skip to content

A Hubot plugin to help your team to choose where to drink a coffee ! ☕

License

Notifications You must be signed in to change notification settings

azevedo/hubot-lunchpoll

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hubot-lunchpoll

Hubot-lunchpoll is a Hubot plugin that helps your team decide where to lunch. The hubot will search for restaurants nearby and show options to people in the chat vote.

Configuration

Foursquare

You need to register at Foursquare and set your credentials on these environment variables:

FOURSQUARE_CLIENT_ID = xxx
FOURSQUARE_CLIENT_SECRET = xxx

To run it locally just set these variables on a .env file in the project root and load it with a library like dotenv.

Install

Install the plugin:

npm install hubot-lunchpoll --save

And add it to your external-scripts.json file:

[
  ...
  "hubot-lunchpoll"
  ...
]

Usage

Starting the poll

hubot lunchpoll start 

Voting

hubot lunchpoll vote <number>

Showing the partial results

hubot lunchpoll partial

Finishing the poll and announcing the winner

hubot lunchpoll finish

About

A Hubot plugin to help your team to choose where to drink a coffee ! ☕

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%