hubot-counter

0.2.2 • Public • Published

hubot-counter Build Status

deprecated in favour of hubot-plusplus

This script allows hubot to count whenever you ++ or -- something, for example:

user1>> My coffee++ just woke me up!
hubot>> coffee: 1
user1>> meetings--
hubot>> meetings: -1

Commands: hubot get count - get the current count of you can increment with item++ and decrement with item--

user1>> hubot get count coffee
hubot>> coffee: 1!

See src/counter.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-counter --save

Then add hubot-counter to your external-scripts.json:

[
  "hubot-counter"
]

Sample Interaction

user1>> My coffee++ just woke me up!
hubot>> coffee: 1
user1>> meetings--
hubot>> meetings: -1
user1>> hubot get count coffee
hubot>> coffee: 1!

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.2
    1
  • 0.2.1
    0
  • 0.2.0
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i hubot-counter

Weekly Downloads

3

Version

0.2.2

License

MIT

Last publish

Collaborators

  • tenfourty