Avoid the need for an administrator to join the bot to channels by
implementing a configuration option allowing the passing of channels
the bot should always join to by itself upon startup.
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
The Allowed() function already implements this loop, use it to reduce
redundant code.
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Abstract settings which commonly differ between instances to a YAML
based configuration file to allow for easy administration without the
need for modifying the source code.
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>