1.2.4 • Published 4 years ago

hubot-respond v1.2.4

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

hubot-respond

Hubot script to respond to any message with something you defined.

Installation

  1. install this npm package to your hubot repo npm i --save hubot-respond
  2. add "hubot-respond" to your external-scripts.json

Commands

hubot respond to A TEXT with VALUE - Creates a new respond

hubot here respond to A TEXT with VALUE - Creates a new respond but only for the current room

hubot delete respond to A TEXT - Deletes a respond

hubot from here delete respond to A TEXT - Deletes a respond

hubot list responds - Lists all responds

Example:

you : hubot respond to hey team with @jane @jasmine @jack @joe

hubot : Respond added

you : hey team

hubot : @jane @jasmine @jack @joe

Dynamic response

You can create a response where the sender's name or the room name is included, to do that use the {sender} or {room} special entries in the reponse.

In the following example assume that the room name is general

you : hubot respond to Hi with Welcome @{sender} in the {room} room

hubot : Respond added

john : Hi

Welcome @john in the general room

1.2.4

4 years ago

1.2.3

5 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.1-3

6 years ago

1.1.1-2

6 years ago

1.1.1-1

6 years ago

1.1.1-0

6 years ago

1.1.0

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago