oriuminc / pantzbot

A Hubot instance
2 stars 0 forks source link

Add filter param to `factoids list` command #22

Closed patcon closed 10 years ago

patcon commented 11 years ago

At @anandpathaksharma's suggestion, would be great if slackbot's factoid listing could be filtered like so:

anand.s:
    slackbot: factoids list phone
slackbot:
    phone-anand
    phone-erin
    phone-tim
    phone-david
    phone-rob

https://github.com/github/hubot-scripts/blob/master/src/scripts/factoid.coffee

patcon commented 11 years ago

Can steal from this: https://github.com/github/hubot/blob/master/src/scripts/help.coffee#L54-L63

patcon commented 11 years ago

Would also be great to sort alphabetically while we're at it, as we're starting to add LOTS of factoids, and its just chronological right now.

patcon commented 10 years ago

Closing in favour of https://github.com/myplanetdigital/hubot-factoid/issues/1