Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hubot-idobata

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-idobata - npm Package Compare versions

Comparing version 0.0.5 to 0.1.0

2

package.json
{
"name": "hubot-idobata",
"version": "0.0.5",
"version": "0.1.0",
"description": "Idobata adapter for GitHub's Hubot",

@@ -5,0 +5,0 @@ "main": "./src/idobata",

@@ -40,2 +40,21 @@ # hubot-idobata

## Adapter specified API
### Send message as HTML
You can `Adapter#sendHTML` instead of `Robot#send` to create message as HTML.
``` coffee
module.exports = (robot) ->
robot.respond /PING$/i, (msg) ->
# This API creates the palin text message.
# msg.send "PONG"
adapter = msg.robot.adapter
envelope = msg.envelope
# This API creates the HTML message.
adapter.sendHTML envelope, '<h1>hi</hi>'
```
## Deploying to heroku

@@ -42,0 +61,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc