Hubot-coffeepoll is a Hubot plugin that helps your team to decide where to drink a coffee. The hubot will search for coffee shops nearby and show options to people in the chat vote.
You need to register at Foursquare and set your credentials on this environment variables:
FOURSQUARE_CLIENT_ID = xxx
FOURSQUARE_CLIENT_SECRET = xxx
Install the plugin:
npm install hubot-coffeepoll --save
And add it to your external-scripts.json
file:
[
...
"hubot-coffeepoll"
...
]
hubot coffeepoll near <text>
Examples:
hubot coffeepoll near Champs-Elysées
hubot coffeepoll near my street
hubot coffeepoll radius <number>
Example:
hubot coffeepoll radius 500
hubot coffeepoll start
hubot coffeepoll vote <number>
hubot coffeepoll partial
hubot coffeepoll finish