interjection by stallman implemented

This commit is contained in:
Enrico Fasoli 2015-12-22 10:46:48 +01:00
parent fd46163ba3
commit 05442183d4
2 changed files with 15 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "asjon",
"version": "1.7.2",
"version": "1.8.0",
"private": true,
"author": "Enrico Fasoli <fazius2009@gmail.com>",
"description": "Il miglior amico della 5IA",

View File

@ -0,0 +1,14 @@
# Description:
# What you are referring to is actually GNU + Linux....
#
# Configuration:
# None
#
# Author:
# Enrico Fasoli (fazo96)
module.exports = (robot) ->
robot.hear /(.)*linux(.)*/i, (res) ->
s = res.match[0]
if s.toLowerCase().indexOf('gnu') < 0
res.send 'http://s2.quickmeme.com/img/b9/b91afe13fc7e1b79898b1f65a12b4d23a25d5083ec0410185ff563fdf8ce8a87.jpg'