- You can view live version of this bot on our Discord server
or you can run it locally:
- Install dependencies with
npm i
- Fill out settings.json using the form below
- Save the changes, and start bot with
npm run prod
command
{
"database": "",
"dbname": "pixelbattle",
"token": "",
"insideToken": "",
"api_domain": "",
"owner": [],
"prefix": "p!",
"SYSTEM_TOKEN": ""
}
where:
database
- mongodb url connection string
dbname
- name of the database where the data will be stored
token
- Discord bot token, get here (DDevs)
insideToken
- token used for communication between the bot and the API
api_domain
- API domain with protocol
owner
- array with discord account IDs, used for special commands
prefix
- prefix used by the bot
SYSTEM_TOKEN
- bot user token in the database (you must create it yourself)