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

hubot-esa

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-esa - npm Package Compare versions

Comparing version 0.5.0-pre to 0.5.0

2

package.json
{
"name": "hubot-esa",
"version": "0.5.0-pre",
"version": "0.5.0",
"description": "A Hubot script handling webhooks and retrieving info from esa: https://esa.io",

@@ -5,0 +5,0 @@ "author": "Kengo Hamasaki <k.hamasaki@gmail.com>",

@@ -89,2 +89,26 @@ # hubot-esa

### Enable Channel Selector for Slack
Select notified channel(room) dynamically by title of post on esa.
```
export HUBOT_ESA_SLACK_ROOM_SELECTOR='true' # Optional, Default: "false"
```
If title includes tags like `#dev` `#programming` and channel which corresponds with that tag exist, notifications will be posted to each channels.
When not exist, try to find deepest directory name which corresponds with channel.
e.g. There are 3 channels in Slack: `#dev`, `#programming`, `web` (private)
| Title of post on esa | Notified Channel |
| ------------- | ------------- |
| `awesome article` | default room |
| `awesome article #dev #programming` | `#dev` `#programming` |
| `awesome article #dev #programming #ruby #web` | `#dev` `#programming` `web`|
| `dev/awesome article` | `#dev` |
| `dev/programming/awesome article` | `#programming` |
hubot must exist in each channels which is be notified.
## Handle event listener manually

@@ -91,0 +115,0 @@

@@ -29,3 +29,3 @@ {

"is_archived": false,
"is_member": false,
"is_member": true,
"num_members": 6,

@@ -32,0 +32,0 @@ "topic": {

@@ -7,3 +7,3 @@ {

"post": {
"name": "たいとる #api #dev",
"name": "たいとる #api #dev #fun",
"body_md": "ほんぶん",

@@ -10,0 +10,0 @@ "body_html": "<p>ほんぶん</p>\n",

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