Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (33 sloc) 0.647 kB
#
# I'll pick a place for lunch for you, lazy bastards.
#
module.exports = (robot) ->
restaurants = [
'Cholada',
"Sasabune",
"Kay & Dave's",
"Cafe Vida",
"Casa Nostra",
"Taj Palace",
"Beech Street",
"Vittorio's",
"Pearl Dragon",
"Mayberry",
"Vons",
"Taste",
"Gelsons",
"Cathay Palisades",
"Subway",
"Rocco's",
"Marix Tex Mex",
"Pinochio"
]
preamble = [
'How about',
'What about',
'I think you might like',
'You should try',
'Umm...'
]
robot.respond /(.*)lunch me/i, (msg) ->
msg.reply msg.random(preamble) + ' ' + msg.random(restaurants)
Jump to Line
Something went wrong with that request. Please try again.