Net Possibility Multiplier

npm

Need private packages and team management tools?Check out npm Orgs. »

hubot-greetings

1.0.0 • Public • Published

Hubot Greetings

Customized greetings for individual people by your Hubot.

Installation

  1. Add hubot-greetings to your package.json:

    "dependencies"{
      "hubot-greetings": "~1.0.0"

},

2. Require the module in `external-scripts.json`:

```json
["hubot-greetings"]
  1. Run npm update and restart your Hubot.

Commands

To tell Hubot to greet you with a specific phrase, tell him:

Hubot: greet me with your hovercraft is full of eels!

Hubot will remember all of the greetings that you've told him, and choose one randomly each time you enter the room. If you want him to stop using one of them, use:

Hubot: don't greet me with the worst. really, just the worst

You can wipe the slate clean with:

Hubot: forget my greetings

It's a bit spammy, but you can ask Hubot to list all of the greetings that he knows with:

Hubot: show my greetings

Replace me with you or another user's username to change other people's greetings, if you're allowed to do so. Possessive forms are also recognized, so Hubot: show Kyle's greetings will work for a user named Kyle.

Greetings Czar

By default, Hubot will only let you add and remove greetings from yourself. You can change this by either setting the environment variable HUBOT_GREETINGS_FFA to something nonempty, to make it a giant free-for-all. Alternately, if you're using the auth script, you can grant your inner circle the "greeting czar" role, and they and only they can change whatever greetings they like.

install

npm i hubot-greetings

Downloadsweekly downloads

155,693

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability