These instructions are intended for bot development only.
👉 No support is offered for self-hosting the bot! 👈
npm ci- Make a copy of
bot.env.examplecalledbot.env, fill in the values - Run the desired start script:
-npm run start-bot-devto run the bot withts-node
-npm run buildfollowed bynpm run start-bot-prodto run the bot compiled
-npm run watch-botto run the bot withts-nodeand restart on changes - When testing, make sure you have your test server in the
allowed_guildstable or the guild's config won't be loaded at all
npm ci- Make a copy of
api.env.examplecalledapi.env, fill in the values - Run the desired start script:
-npm run start-api-devto run the API server withts-node
-npm run buildfollowed bynpm run start-api-prodto run the API server compiled
-npm run watch-apito run the API server withts-nodeand restart on changes
- Navigate to
dashboard/ npm ci- Make a copy of
.env.examplecalled.env, fill in the values - Run the desired start script:
-npm run buildcompiled the dashboard's static files indist/which can then be served with any web server
-npm run watchruns Parcel.js's dev server that automatically reloads on changes
Configuration is stored in the database in the configs table
# role id: level
levels:
"12345678": 100 # Example admin
"98765432": 50 # Example mod
plugins:
mod_plugin:
config:
kick_message: 'You have been kicked'
can_kick: false
overrides:
- level: '>=50'
config:
can_kick: true
- level: '>=100'
config:
kick_message: 'You have been kicked by an admin'
spam:
config:
filter_words: ['heck']
overrides:
- channel: '1234'
config:
+filter_words: ['foo']
- level: '>=50'
config:
-filter_words: ['heck']