interjection by stallman implemented
This commit is contained in:
parent
fd46163ba3
commit
05442183d4
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "asjon",
|
"name": "asjon",
|
||||||
"version": "1.7.2",
|
"version": "1.8.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"author": "Enrico Fasoli <fazius2009@gmail.com>",
|
"author": "Enrico Fasoli <fazius2009@gmail.com>",
|
||||||
"description": "Il miglior amico della 5IA",
|
"description": "Il miglior amico della 5IA",
|
||||||
|
14
scripts/interjection.coffee
Normal file
14
scripts/interjection.coffee
Normal 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'
|
Loading…
Reference in New Issue
Block a user