Skip to content

Settings

DRN edited this page Sep 2, 2023 · 22 revisions

I tried to make the configuration as user friendly as possible, though you still need to follow proper JSON syntax (watch those commas). Most settings are optional and will use default values or be unused if missing from your settings file.

When initially launching the bot it will create a default settings file if you do not create your own settings.json manually. All JSON settings follow camelCase format.

If you have a config.ini from Seklfreak's discord-image-downloader-go, it will import settings if it's in the same folder as the program.

The bot accepts .json or .jsonc for comment-friendly json, as well as .yaml.

If you are using .json/.jsonc, the bot will convert to YAML and store in cache/settings.yaml upon launch, for help with conversion if you wish to use YAML.

Alternatively, if you are using .yaml, the bot will convert to JSON and store in cache/settings.json upon launch, for help with conversion if you wish to use JSON.

Clone this wiki locally