Go to file
2014-08-09 01:50:37 -05:00
.gitignore initial commit 2014-08-09 01:21:11 -05:00
app.js Fix logic errors 2014-08-09 01:48:02 -05:00
config.json.example Change how listening port is defined 2014-08-09 01:40:38 -05:00
package.json bump version 2014-08-09 01:48:21 -05:00
README.md Fix readme 2014-08-09 01:50:37 -05:00

slack-command-server

Slack command server is a simple way to build a server that responds to slack slash commands. Getting Started

  1. Clone this repository
  2. Configure according to the Configuration section
  3. Run node app.js Configuration ============= Configuring the server is simple, you can use any plugin compatible with slack-command-router, custom or otherwise.

You must define what port for the app to listen on by defining port: 80

To use pre-written plugins write your configuration thusly:

{
    "plugins": [
        "slack-roll-command"
    ]
}

Or if you have plugins of your own, you can do this:

{
    "local-plugins": [
        "directory/to/plugin.js"
    ]
}

Notes

Any plugins specified in your configuration will be installed through npm upon starting your server, and any local-plugins will will be loaded relative to the directory in which app.js resides.