hubot-tomato-timer
v1.1.1
Published
The last Hubot tomato timer you'll ever need.
Downloads
7
Readme
hubot-tomato-timer
A Hubot script for all your tomato timer needs. Simply start a timer and Hubot will notify you when the timer is done.
Inspired by TomatoTimer.
Install It
Install with npm using --save
to add to your package.json
dependencies.
> npm install --save hubot-tomato-timer
Then add "hubot-tomato-timer" to your external-scripts.json
.
Example external-scripts.json
["hubot-tomato-timer"]
Or if you prefer, just drop tomato-timer.coffee in your Hubot scripts folder and enjoy.
Use It
Each user can start a single timer per chat room. Everyone in a chatroom can start their own timer.
hubot tomato start
- start a tomato timerhubot tomato stop
- stop a tomato timerhubot tomato info
- show info about the current tomato timerhubot tomato mine
- show info about all of my current tomato timershubot tomato all
- show all the tomato timers, everywherehubot tomato short break
- start a short break timerhubot tomato long break
- start a long break timerhubot tomato stop break
- stop a tomato break timerhubot tomato help
- return the allowed commands
Configure It
If you don't like the default :tomato:
emoji, you can override using HUBOT_TOMATO_TIMER_EMOJI
.
Improve It
Feel free to help this script suck less by opening issues and/or sending pull requests.
If you haven't already, be sure to checkout the Hubot scripting guide for tons of info about extending Hubot.
Coding Style
Other than the 79 character line length limit, which I consider to be a suggestion, let's try to follow the CoffeeScript Style Guide.
Other Hubot tomato timers
I found hubot-pomodoro when trying to decide on a package name. Give it a shot if you don't like hubot-tomato-timer (or even if you do).