1 | # Hubot Codinglove script
|
2 |
|
3 | A little script to get meme from [the coding love](http://thecodinglove.com/) and [les joies du code](http://loesjoiesducode.tumblr.com), both the last and a random one.
|
4 |
|
5 | [![Build Status](https://travis-ci.org/eunomie/hubot-codinglove.png)](https://travis-ci.org/eunomie/hubot-codinglove) [![NPM version](https://badge.fury.io/js/hubot-codinglove.png)](http://badge.fury.io/js/hubot-codinglove)
|
6 |
|
7 | ## Usage
|
8 |
|
9 | Returns the comment and the gif in all cases.
|
10 |
|
11 | ### The coding love
|
12 |
|
13 | * `robot [give me some] joy [asshole]`: return a random
|
14 | * `robot last joy`: return the last one
|
15 |
|
16 | ### Les joies du code [fr]
|
17 |
|
18 | * `robot [donne moi de la] joie [bordel]`: return a random
|
19 | * `robot {dernière|derniere} joie`: return the last one
|
20 |
|
21 | ## Dependencies
|
22 |
|
23 | * [cheerio](https://github.com/MatthewMueller/cheerio)
|
24 | * [ent](https://github.com/substack/node-ent)
|
25 |
|
26 | ## Installation
|
27 |
|
28 | Add the package `hubot-codinglove` as a dependency in your Hubot `package.json` file.
|
29 |
|
30 | "dependencies": {
|
31 | "hubot-codinglove": "0.1.0"
|
32 | }
|
33 |
|
34 | Run the following command to make sure the module is installed.
|
35 |
|
36 | $ npm install hubot-codinglove
|
37 |
|
38 | To enable the script, add the `hubot-codinglove` entry to the `external-scripts.json` file (you may need to create this file).
|
39 |
|
40 | ["hubot-codinglove"]
|