JSON isn't so great, but configuration is necessary. TOML looks nice, and the htoml library implements it.
Furthermore, configuration should be read-only, unlike the current yukibot, where configuration is rewritten on quit. This is bad because unexpected termination can mess up the config.
The actual configuration may change during execution, due to (eg) #39. There should be a way to dump the actual configuration to a new file, so allow for hand-merging if desired.
JSON isn't so great, but configuration is necessary. TOML looks nice, and the
htoml
library implements it.Furthermore, configuration should be read-only, unlike the current yukibot, where configuration is rewritten on quit. This is bad because unexpected termination can mess up the config.
The actual configuration may change during execution, due to (eg) #39. There should be a way to dump the actual configuration to a new file, so allow for hand-merging if desired.