Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (17 sloc) 392 Bytes
# 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."}"
Something went wrong with that request. Please try again.