Skip to content
This repository
Browse code

Add initial 'jordan' script

  • Loading branch information...
commit bd96d5e226b6c6118f1e760aa3ac503fe3b0e64a 1 parent 65004b0
Denis Roussel KuiKui authored

Showing 1 changed file with 15 additions and 0 deletions. Show diff stats Hide diff stats

  1. +15 0 src/scripts/jordan.coffee
15 src/scripts/jordan.coffee
... ... @@ -0,0 +1,15 @@
  1 +# Display a picture of Michael Jordan if anyone invokes "jordan" or says "23"
  2 +# Cause Jordan is God. So much more than Steve Jobs :D
  3 +
  4 +images = [
  5 + "http://pictureloaders.com/images/pictures-of-michael-jordan18.jpg"
  6 + "http://a7.idata.over-blog.com/0/54/95/85/Michael_Jordan1414.jpg"
  7 + "http://02.img.v4.skyrock.net/028/michael-jordan-n23/pics/884566066_small.jpg"
  8 + "http://absolutezone.files.wordpress.com/2008/11/michael_jordan014.jpg"
  9 + "http://hrichert1.free.fr/IDD_BB_NT/postes_basket/Michael%20jordan.jpg"
  10 + "http://www.michaeljordansworld.com/pictures/images/michael_jordan_dunks_jazz.jpg"
  11 +]
  12 +
  13 +module.exports = (robot) ->
  14 + robot.hear /(jordan|23)/i, (msg) ->
  15 + msg.send msg.random images

0 comments on commit bd96d5e

Please sign in to comment.
Something went wrong with that request. Please try again.