UNPKG

hubot-scripts

Version:

Allows you to opt in to a variety of scripts

19 lines (17 loc) 392 B
# Description: # Forces hubot to do what you want, even if he doesn't know how # # Dependencies: # None # # Configuration: # None # # Commands: # hubot sudo <anything you want> - Force hubot to do what you want # # Author: # searls module.exports = (robot) -> robot.respond /(sudo)(.*)/i, (msg) -> msg.send "Alright. I'll #{msg.match?[2] || "do whatever it is you wanted."}"