dr-breerb
Installation
Requires NodeJS v8/v10 and npm.
- Clone or download this repository.
- Open a command prompt inside of the directory you cloned or extracted.
- Run
npm i
to install the bot's dependencies.- Optionally, run
npm i discordapp/erlpack
for significantly faster WebSocket data (de)serialisation. This requiresnode-gyp
, here's how to install its requirements properly.
- Optionally, run
- Run
node index.js
ornpm start
to start the bot.npm start
usesstart.sh
which is a bash script, expected to run on Linux. Don't expect it to work with Windows... unless you know what you're doing.
Configuration
See config.json.example
, and create your own config.json
. You need to configure 3 fields using the JSON format:
token
: The Discord token string for your bot account. Get one from https://discordapp.com/developers/applications/.log
: Whether or not to print stuff console. Boolean defaulting totrue
.ownerId
: A string or array of Discord user account IDs that will be able to run critical commands on the bot such aseval
,exec
, ...
I'll fill out more information later.