xori / slack-bootler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bootler wercker status

A slack bot, written in javascript.

Adding Functionality

Create a new file in plugins that looks something like this:

module.exports = function(engine) {
  engine.respond(/hello world/i, function(message, params, send) {
    send("hello world!")
  })
}

then talk to @bootler in Slack.

Evan: Hey @bootler, hello world
Bootler: hello world!

or for something a bit more interesting

Evan: @bootler roll 3d6+3
Bootler: 3d6+3 => 19

Development

  1. Fork
  2. Get a test TOKEN key
  • copy config.example.json to config.json and add your token
  1. npm install; npm test; npm start
  2. git checkout -b my-new-feature
  3. Work on your feature
  4. Open a pull request

About


Languages

Language:JavaScript 100.0%