Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (17 sloc) 0.396 kb
# 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?[1] || "do whatever it is you wanted."}"
Jump to Line
Something went wrong with that request. Please try again.