hubot-jokes
v0.0.12
Published
A hubot script that retreives random reddit jokes
Downloads
4
Maintainers
Readme
Hubot Jokes
A hubot script that retreives random reddit jokes by building on original reddit-jokes script by tombell and ericjsilva
See src/jokes.coffee
for full documentation.
Installation
In hubot project repo, run:
npm install hubot-jokes --save
Then add hubot-jokes to your external-scripts.json
:
[
"hubot-jokes"
]
Commands
Tell me a joke
Retreive a random joke from /r/jokes
Tell me a <type> joke or <type> joke
If type is one of the allowed types it'll retreive a random joke from corresponding subreddit
Allowed types and corresponding subreddit:
- simple - r/jokes
- dad - r/dadjokes
- mom - r/mommajokes
- yo momma - r/mommajokes
- clean - r/cleanjokes
- classy - r/classyjokes
Sample Interaction
user1>> hubot tell me a joke
hubot>> <random joke from r/jokes >
user1>> hubot tell me a dad joke
hubot>> <random joke from r/dadjokes >
user1>> hubot yo momma joke
hubot>> <random joke from r/mommajokes >
NPM Module
https://www.npmjs.com/package/hubot-jokes