hubot-archive / hubot-seen

A hubot script that tracks when/where users were last seen.
https://www.npmjs.org/package/hubot-seen
24 stars 15 forks source link

Add "last 24 hours" alias #11

Closed hakusaro closed 6 years ago

hakusaro commented 8 years ago

This adds an "seen in last 24 hours" as an alias to "seen in last 24h." Why? Because nobody in my Slack can get it right.

This doesn't 100% solve the problem because there are about a million ways to try to invoke this command in the wrong way, but this at least increases the odds of getting it right.

screen shot 2016-10-23 at 2 02 50 am

Note: Not 100% correct on the CoffeeScript syntax for this kind of logic operator, but I'm 99% sure it works.

Note 2: I know this is a hubot-scripts org repo. Are these still maintained or is this supposed to be forked off and maintained independently?