Node JS Discord Bot
This bot was designed with augmenting my own original campaign on dungeons and dragons, a tabletop role playing game.
Before you start, you must add a config.json
file to the root directory, which may look something like the following:
config.json
{
"prefix": "!",
"token": "your token here",
"passwords_array": ["pass1", "pass2", "pass3", "pass4"],
"secret_passcodes": {
"sp1": 12414,
"sp2": 19183
}
}
To run the discord bot, install Node JS and run node index.js
in the directory.