hubot-quotefile
Report random quotes from a data file.
Last updated 5 years ago by smashwilson .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-quotefile 
SYNC missed versions from official npm registry.

Hubot Quote File

Maintain a quote file of hilarious, out-of-context quotes from your chat, to bring then up later either randomly or matching a search term.

Installing

  1. npm install --save hubot-quotefile
  2. Require the module in external-scripts.json:
["hubot-quotefile"]
  1. Restart your Hubot.

Commands

Memorable quotes are stored in a flat text file that you can also maintain with ${EDITOR}. Its format is simple - separate each quote with two newlines:

quote one
still quote one, second line

quote two

a third quote
that's
three lines long

Hubot: quote will summon a random quote from the file.

Hubot: quote Fenris corpse will summon a random quote containing the words "Fenris" and "corpse".

Hubot: reload quotes will trigger an automatic, asynchronous reload of the file.

Configuring

HUBOT_QUOTEFILE_PATH controls the location of the quotefile.

Current Tags

  • 2.2.0                                ...           latest (4 years ago)

6 Versions

  • 2.2.0                                ...           4 years ago
  • 2.1.2                                ...           4 years ago
  • 2.1.1                                ...           4 years ago
  • 2.1.0                                ...           4 years ago
  • 2.0.0                                ...           5 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 1
Dependencies (3)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |