Current "channel" option spec/behaviour in pyGBot.ini:
field = "value"
ConfigObj reference: http://www.voidspace.org.uk/python/configobj.html
Submitting this as a todo when I find time for pyGBot, more or less. Feel free to pick this up if you want, though; the changes are fairly mundane.
I might pick this up myself soon, as a warmup to get me back into development.
Maybe we should just switch to YAML or JSON for config :P
YAML might work, but isn't JSON not as readable?
Either way, a rework like that should probably be filed under "someday maybe". This fix will be easy, at least.
JSON is fairly readable if formatted nicely (... does the spec allow extra whitespace?), just requires a hell of a lot of extraneous quotation marks. (Not as bad as XML! Ugh, so verbose for no reason.) I would suggest against it for the reason that it's a bit too strict for hand-edited configuration; I'd rather go with a more leniently-specified language.
YAML might work. It represents arbitrary objects, so we might be able to organize everything decently.
I also think it'd be a good idea to separate out plugin configuration files so that third-party or separately-shipped plugins could ship with default/annotated plugins, instead of having to merge into the main bot config.
... again, all cursory ideas that should probably be submitted as enhancements XD
Fix to expected channel rules; closes #37