1.1.0 • Published 8 years ago

hubot-slack-imakitasangyo v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

hubot-slack-imakitasangyo

A imakitasangyo alert script for hubot-slack

Description

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

npm.io

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.

1.1.0

8 years ago

1.0.0

8 years ago