hubot-ibmcloud-formatter

0.0.33 • Public • Published

Build Status Dependency Status Coverage Status npm version

hubot-ibmcloud-formatter

Listens for messages sent via robot.emit directed at ibmcloud.formatter and formats them appropriately for the given hubot adapter.

Usage

robot.respond(/hello/, (response) => {
    robot.emit('ibmcloud.formatter', {
        response: response,
        attachments: [
            {
                title: 'A fancy hello',
                text: 'Greetings and salutations.'
            }
        ]
    });
})

License

See LICENSE.txt for license information.

Contribute

Please check out our Contribution Guidelines for detailed information on how you can lend a hand.

Package Sidebar

Install

npm i hubot-ibmcloud-formatter

Weekly Downloads

13

Version

0.0.33

License

Apache-2.0

Last publish

Collaborators

  • codes4food
  • ibmmobilecloud