Permalink
2e1951c Jun 9, 2012
25 lines (22 sloc) 546 Bytes
# Description:
# Listens for "good" but with 3 or more "o"s
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commnads:
# gooo+d
#
# Author:
# tbwIII
darths = [
"http://images4.wikia.nocookie.net/__cb20080808031313/starwars/images/thumb/d/d4/Palpycropped.jpg/250px-Palpycropped.jpg",
"http://www.vamortgagecenter.com/blog/wp-content/uploads/2011/07/sidious.jpg",
"http://torwars.com/wp-content/uploads/2011/10/darth-sidious.jpg"
]
module.exports = (robot) ->
robot.hear /gooo+d/i, (msg) ->
msg.send msg.random darths