Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (33 sloc) 647 Bytes
#
# 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)