Nothing Special   »   [go: up one dir, main page]

Skip to content

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

License

Notifications You must be signed in to change notification settings

wallacyyy/hubot-coffeepoll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hubot-coffeepoll

Build Status npm version

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.

Configuration

Foursquare

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

FOURSQUARE_CLIENT_ID = xxx
FOURSQUARE_CLIENT_SECRET = xxx

Install

Install the plugin:

npm install hubot-coffeepoll --save

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

[
  ...
  "hubot-coffeepoll"
  ...
]

Usage

Configuring the place for next polls

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

Starting the poll

hubot coffeepoll start 

Voting

hubot coffeepoll vote <number>

Showing the partial results

hubot coffeepoll partial

Finishing the poll and announcing the winner

hubot coffeepoll finish

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published