Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 39 lines (37 sloc) 1.039 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
# Description:
# Motivation from Ron Swanson
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot swanson me - Motivates you to be more awesome
#
# Author:
# danielmurphy

module.exports = (robot) ->
  robot.respond /swanson me$/i, (msg) ->
    images = [
      "http://i.imgur.com/kW0f7.jpg",
      "http://i.imgur.com/vw9gZ.jpg",
      "http://i.imgur.com/aV6ju.jpg",
      "http://i.imgur.com/AQBJW.jpg",
      "http://i.imgur.com/tKkRO.png",
      "http://i.imgur.com/lkbGP.png",
      "http://i.imgur.com/mx54e.jpg",
      "http://i.imgur.com/LASrK.jpg",
      "http://i.imgur.com/zvUBG.jpg",
      "http://i.imgur.com/tjqca.jpg",
      "http://i.imgur.com/q5CYv.jpg",
      "http://i.imgur.com/HsoXm.jpg",
      "http://i.imgur.com/6EGQm.jpg",
      "http://i.imgur.com/DxpKu.jpg",
      "http://i.imgur.com/h2c7L.jpg",
      "http://i.imgur.com/jNyXL.jpg",
      "http://i.imgur.com/K09cJ.jpg",
      "http://i.imgur.com/mO0UE.jpg",
      "http://i.imgur.com/9hhkx.jpg"]
    msg.send msg.random images
Something went wrong with that request. Please try again.