2e1951c Jun 9, 2012
63 lines (59 sloc) 1.1 KB
# Description:
# Hubot is very attentive (ping hubot)
# Dependencies:
# None
# Configuration:
# None
# Commands:
# Author:
# tapichu
phrases = [
"Yes, master?"
"At your service"
"Unleash my strength"
"I'm here. As always"
"By your command"
"Ready to work!"
"Yes, milord?"
"More work?"
"Ready for action"
"What do you need?"
"Say the word"
"Aye, my lord"
"Locked and loaded"
"Aye, sir?"
"I await your command"
"Your honor?"
"Command me!"
"At once"
"What ails you?"
"Yes, my firend?"
"Is my aid required?"
"Do you require my aid?"
"My powers are ready"
"It's hammer time!"
"I'm your robot"
"I'm on the job"
"You're interrupting my calculations!"
"What is your wish?"
"How may I serve?"
"At your call"
"You require my assistance?"
"What is it now?"
"I'm coming through!"
"I'm here, mortal"
"I'm ready and waiting"
"Ah, at last"
"I'm here"
"Something need doing?"
module.exports = (robot) ->
name_regex = new RegExp("#{}\\?$", "i")
robot.hear name_regex, (msg) ->
msg.reply msg.random phrases