- 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
.env
using the instructions below - Save the changes, and start bot with
npm run prod
command
you can see the .env
example in the .env.example
file
DATABASE
- mongodb url connection string
TOKEN
- discord bot token, get here (DDevs)
API_DOMAIN
- pixelbattle API domain with protocol
SYSTEM_TOKEN
- bot user token in the database (you must create it yourself)
NOTIFICATION_CHANNEL
- discord channel ID where notifications about new accounts will be sent
OWNER
- IDs of discord accounts that can use commands such as p!mod, p!eval and others (you can make array using ",")