Hubot script. Tells a 'story' by scraping a topic paragraph from the random article function of Wikipedia.
In hubot project repo, run:
npm install hubot-wikirandom --save
Then add hubot-wikirandom to your external-scripts.json
:
[
"hubot-wikirandom"
]
user1>> hubot, tell us a story
hubot>> Sure! Let me see what I can come up with.
hubot>> Once upon a time...
hubot>> Somersetshire was launched in 1810 on the River Thames. She made tow voyages to Australia transporting convicts. On the second voyage some convicts and guards planned a mutiny that was foiled. Somersetshire is last listed in 1844.
hubot>> The end.