Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

xori/bootler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  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

A discord bot, written in javascript.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •