UNPKG

hubot-cage

Version:

Recite stories from Cage's 'Indeterminacy'.

10 lines (8 loc) 284 B
fs = require 'fs' path = require 'path' module.exports = (robot, scripts) -> scriptsPath = path.resolve(__dirname, 'src') if scripts? and '*' not in scripts robot.loadFile(scriptsPath, 'cage.coffee') if script in scripts else robot.loadFile(scriptsPath, 'cage.coffee')