It would be nice to implement some checks of the config so the user of the bot can validate its config while configuring.
I am thinking of a class or some other kind of validator which reads the config file and provides
- some getters to access the configs (which provide defaults if they are unset) or
- sets all undefined values with defaults when unset
It would be nice to implement some checks of the config so the user of the bot can validate its config while configuring.
I am thinking of a class or some other kind of validator which reads the config file and provides