Comparing version 0.5.0-pre to 0.5.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98985
179