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
config.example.json
to config.json
and add your tokennpm install; npm test; npm start
git checkout -b my-new-feature