Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

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.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published