hubot-response-success

1.0.2 • Public • Published

How to use

Make sure you have hubot-response installed in your hubot directory.

npm install --save hubot-response-success

Under your responses directory, create an success.js (you can name it whatever) file with

module.exports = require('hubot-response-success');

Want to add more images?

In your success.js file, just push whatever you want to the response array.

// Import the module you want
var config = require('hubot-response-success');

// Extend whatever you wany
config.response.push('http://my-new-image-url-here');

// Export the altered object
module.exports = config;

Package Sidebar

Install

npm i hubot-response-success

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • michaeljacobdavis