1.1.1-1 • Published 7 years ago

hubot-respond v1.1.1-1

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

5 years ago

1.2.3

6 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.1-3

7 years ago

1.1.1-2

7 years ago

1.1.1-1

7 years ago

1.1.1-0

7 years ago

1.1.0

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

9 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago