Skip to content

Bot Configuration

Kneemund edited this page Oct 9, 2021 · 3 revisions

Admins can configure the bot on the fly by using the sub-commands of /configuration.

View Configuration

/configuration list
This will display the current content of the configuration file (JSON).

Edit Configuration

/configuration set
The path argument is used to reference the value that you want to edit. In order to reference nested values, you can use the dot character.

Example:

{
  "logging": {
    "channelID": "743955581160783933"
  }
}

In order to reference channelID, the following path argument has to be used: logging.channelID

The value argument must be valid JSON and will be used as a replacement of the current value.
Following the example from above, the full command to change channelID would be /config set path:logging.channelID value:"743955581160783934".

Clone this wiki locally