This repository has been archived by the owner. It is now read-only.
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (19 sloc) 350 Bytes
# Description:
# None
#
# Dependencies:
# "clark": "0.0.5"
#
# Configuration:
# None
#
# Commands:
# hubot clark <data> - build sparklines out of data
#
# Author:
# ajacksified
clark = require 'clark'
module.exports = (robot) ->
robot.respond /clark (.*)/i, (msg) ->
data = msg.match[1].trim().split(' ')
msg.send(clark(data))