1.2.4 • Published 3 years ago

hubot-respond v1.2.4

Weekly downloads
1
License
MIT
Repository
github
Last release
3 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

3 years ago

1.2.3

4 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.1-3

5 years ago

1.1.1-2

5 years ago

1.1.1-1

5 years ago

1.1.1-0

5 years ago

1.1.0

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

7 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago