Skip to content

rivayama/docbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docbot

Slack bot helps you to create documents. Document will be posted to your Qiita:Team.

Setup

$ git clone https://github.com/rivayama/docbot.git
$ cd docbot
$ npm install

Then you'll need to set following environment variables.

$ export SLACK_API_TOKEN=your_slack_api_token_here
$ export QIITA_TEAM_ID=your_qiita_team_id_here
$ export QIITA_ACCESS_TOKEN=your_qiita_access_token_here

Run bot

$ npm start

Usage

Templates

You can create and confirm templates by following commands:

@docbot: create template _template name_
@docbot: list templates
@docbot: show template _template name_

Documents

You can create and confirm documents by following commands:

@docbot: create document _template name_
@docbot: list documents
@docbot: show document _document name_

For more info, see help.

@docbot: help

Enjoy!

About

Slack bot helps to create document

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published