No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
LICENSE
README.md
index.coffee
package.json

README.md

hubot-slack-imakitasangyo

A imakitasangyo alert script for hubot-slack

Description

Summerize recent posts in the channel when someone posts "今北産業" on Slack.

Requirements

You need to host this API by yourself.

Installation

  • Go to your hubot-slack directory and run
npm install hubot-slack-imakitasangyo --save

to add hubot-slack-imakitasangyo to package.json of your hubot-slack

  • Add hubot-slack-imakitasangyo to external-scripts.json of your hubot-slack
$ cat external-scripts.json
[
  ... ,
  "hubot-slack-imakitasangyo",
  ...
]

Required parameters

Envs

export HUBOT_SLACK_TOKEN=[SLACK TOKEN. ex: "xoxp-hogehogehogehoge"]
export HUBOT_IMAKITASANGYO_BOT_USER_ID=[Bot's user ID. ex: "U021A3SA3"]
export HUBOT_IMAKITASANGYO_SUMMPY_API_URL=[Summpy API URL. ex: "http://127.0.0.1:9000/summarize"]
export HUBOT_IMAKITASANGYO_SOURCE_LINES=[Number of lines to be summerized. ex: "30"]

Special thanks

This script uses Recruit Tech's API.