1.1.3 • Published 8 years ago

hubot-coffeepoll v1.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

Hubot-coffeepoll

js-standard-style 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

npm.io

hubot coffeepoll radius <number>

Example:

hubot coffeepoll radius 500

Starting the poll

hubot coffeepoll start 

npm.io

Voting

hubot coffeepoll vote <number>

npm.io

Showing the partial results

hubot coffeepoll partial

npm.io

Finishing the poll and announcing the winner

hubot coffeepoll finish

npm.io

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago