2.0.0 • Published 3 years ago

hubot-randomquote v2.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
3 years ago

hubot-randomquote

Store, retrieve, and delete quotes!

Any quotes will do. Quote your friends, quote your loved ones, quote your favorite or least-favorite celebrities. Once you've populated your bot, you can retrieve random ones on request!

hubot addquote "Congratulations! The simple fact that you're standing here listening to me means you've made a glorious contribution to science." by Cave Johnson
> OK, added! Total quotes stored: 1
hubot quote
> Quote #1: "Congratulations! The simple fact that you're standing here listening to me means you've made a glorious contribution to science." —Cave Johnson
hubot removequote 1
> OK, stricken! Total quotes remaining: 0

Commands

  • hubot addquote {quote} by {user} - adds the given quote to betsbot, crediting the user, or anonymously if no user is given.
  • hubot removequote {number} - quotes are labeled with a number. If you want to remove a quote, you can do so using that number.
  • hubot quote - get a random quote!

Uses hubot-brain to keep track of the quotes.

Configuration

You can set the maximum length for the quotes stored by hubot using the environment variable HUBOT_RANDOMQUOTE_LENGTH. The default is 140.

Add it to your hubot!

Run the following command

$ npm install hubot-randomquote --save

Then add hubot-randomquote to the external-scripts.json file (you may need to create this file).

["hubot-randomquote"]
2.0.0

3 years ago

1.6.3

5 years ago

1.6.2

5 years ago

1.6.1

5 years ago

1.6.0

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.7

5 years ago

1.3.6

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.10

5 years ago

1.2.9

5 years ago

1.2.8

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago