xori / bootler

A discord bot, written in javascript.
GNU General Public License v3.0
0 stars 2 forks source link

bootler wercker status

A discord 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 Discord.

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
  3. npm install; npm test; npm start
  4. git checkout -b my-new-feature
  5. Work on your feature
  6. Open a pull request