Skip to content

notok/hubot-line-trial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-line-trial

A hubot adaptor for line bot api trial

Prepare

Install

npm install hubot-line-trial --save

Configure

The adapter requires the following environment variables to be defined prior to run a hubot instance.

Set with export command on Non-Heroku environment or heroku config:add command on Heroku.

Required environment variables

Check Channel ID, Channel Secret, MID on LINE developers page.

  • LINE_CHANNEL_ID - The channel ID for bot
  • LINE_CHANNEL_SECRET - The secret for bot
  • LINE_CHANNEL_MID - The mid for bot

Optional environment variables

  • FIXIE_URL default: none - This is automatically set when using with fixie on heroku
  • HUBOT_ENDPOINT default: /hubot/incoming - The path of incoming URL of hubot
  • LINE_ENDPOINT_URL default: https://trialbot-api.line.me/v1/events - endpoint for line bot api

Run

After setting environment variables, run hubot with line-trial adapter.

bin/hubot -a line-trial

License

The MIT License. See LICENSE file.

About

hubot adaptor for line bot api trial

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published