diff --git a/src/scripts/spaceyme.coffee b/src/scripts/spaceyme.coffee new file mode 100644 index 000000000..24453a95c --- /dev/null +++ b/src/scripts/spaceyme.coffee @@ -0,0 +1,13 @@ +# Description: +# Random sized picture of Kevin Spacey on demand +# +# Commands +# spacey me + +sizes = [100...500] + +module.exports = (robot) -> + robot.respond /spacey me/i, (msg) -> + height = msg.random sizes + width = msg.random sizes + msg.send "http://kevinspacer.com/#{width}/#{height}#.png"