A discord bot, written in javascript.
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
- Fork
- Get a test TOKEN key
- copy
config.example.jsontoconfig.jsonand add your token
npm install; npm test; npm startgit checkout -b my-new-feature- Work on your feature
- Open a pull request