2.2.0 • Published 8 years ago

hubot-quotefile v2.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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"]
  3. 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.

2.2.0

8 years ago

2.1.2

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.0.0

10 years ago