We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 47c3cb0 + dbada97 commit c17fb63Copy full SHA for c17fb63
src/scripts/talklikewarrenellis.coffee
@@ -0,0 +1,28 @@
1
+# Description:
2
+# Talklikewarrenellis.com random quote builder
3
+#
4
+# Dependencies:
5
+# None
6
7
+# Configuration:
8
9
10
+# Commands:
11
+# hubot good morning - Receive a random quote from the warren ellis generator
12
13
+# Author:
14
+# vosechu
15
+
16
+module.exports = (robot) ->
17
18
+ robot.hear /(talk like warren ellis|ellis)/i, (msg) ->
19
+ msg.http("http://talklikewarrenellis.com/random.php")
20
+ .get() (err, res, body) ->
21
+ msg.send JSON.parse(body).quote
22
23
+ robot.hear /good (morning|afternoon|evening|day|night)/i, (msg) ->
24
25
26
27
28
0 commit comments