Skip to content


Subversion checkout URL

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

Cannot retrieve contributors at this time

36 lines (32 sloc) 0.659 kB
# I'll pick a place for lunch for you, lazy bastards.
module.exports = (robot) ->
restaurants = [
"Kay & Dave's",
"Cafe Vida",
"Casa Nostra",
"Taj Palace",
"Beech Street",
"Pearl Dragon",
"Cathay Palisades",
"Marix Tex Mex"
preamble = [
'How about',
'What about',
'I think you might like',
'You should try',
robot.respond /(.*)lunch(?! tw| tp| taiwan| taipei)(.*)/i, (msg) ->
msg.reply msg.random(preamble) + ' ' + msg.random(restaurants)
Jump to Line
Something went wrong with that request. Please try again.