asjon/scripts/memes.coffee
2015-09-24 14:09:40 +02:00

17 lines
322 B
CoffeeScript

# Description:
# makes dank maymays
#
# Commands:
# hubot meme template/upper-title/lower-title - genera un meme
#
# Configuration:
# None
#
# Author:
# Enrico Fasoli (fazo96)
module.exports = (robot) ->
robot.respond /meme (.+)/i, (res) ->
url = 'http://memegen.link/'+res.match[1]+'.jpg'
res.send url