-
-
Notifications
You must be signed in to change notification settings - Fork 409
Description
When loading the config file, Sopel should warn the user if it finds a setting name that isn't defined in the StaticSection for that section. (Obviously, this logic will have to ignore the per-channel config sections added in #1235—or handle those, too, since they also have clearly defined properties.)
Such a warning should not prevent starting the bot or halt/block loading the module to whom the setting belongs; it should be purely informational.
This would very much help users avoid typos after manually editing their config files, and aid in debugging issues like the one @HumorBaby and I just spent literally hours on—which turned out to be the result of a misnamed setting in the .cfg file Sopel was using. (The fact that the incorrect name made more sense than the correct one is a bug for another repo.)