Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 23 lines (19 sloc) 0.357 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
# Description:
# None
#
# Dependencies:
# "clark": "0.0.5"
#
# Configuration:
# None
#
# Commands:
# hubot clark <data> - build sparklines out of data
#
# Author:
# ajacksified

clark = require('clark').clark

module.exports = (robot) ->
  robot.respond /clark (.*)/i, (msg) ->
    data = msg.match[1].trim().split(' ')
    msg.send(clark(data))

Something went wrong with that request. Please try again.