michael34435 / slack.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

slack.js

Build slack command bot with simple interface.

Usage

const SlackCommand = require('slack-command.js');

const bot = new SlackCommand({ ... });

bot
  .command('test', (bot, message) => {})
  .action('...')
  .start(3000);

Install

npm i slack-command.js

About

License:MIT License


Languages

Language:JavaScript 100.0%