404d/Bones-IRCBot — pull request #42 by 404d (2014-10-08 08:57:47+00:00)
Title: Default values for more configuration options

I propose that the following things will be done in order to resolve this:

- [ ] `[bot]`
- [ ] `modules`: Defaults to `[]`
- [ ] `username`: Defaults to user account if `getpass` module is available. If not, either raise an exception, or use a safe version of the nickname with a fallback to `bones`
- [ ] `channels`: Defaults to `[]`
- [ ] `joinOnInvite`: Defaults to `False`
- [ ] `triggerPrefixes`: Should either be *one* of the example prefixes, or all of them.
- [ ] Raise exception on all other options
- [x] `[server]`
- [x] `port`: Defaults to `6667`
- [x] `useSSL`: Defaults to `False`
- [x] `setBot`: Defaults to `False`
- [ ] `[storage]`
- [ ] Use the example configuration verbatim
- [ ] `[services]`
- [ ] `nickserv.waitForNotice`: Defaults to `True`
- [ ] `hostserv.waitForHost`: Defaults to `True`
- [ ] Raise exception on all other options
- [ ] `[module.*]`
- [ ] Use the example configuration verbatim
- [ ] Log configuration
- It is so far unclear how we'll make defaults for this