Functionality related to configuration; verifying it, correcting it, reading it from/writing it to disk, and parsing it from command-line arguments.
Completes a client's, server's and bot's member fields. Empty members are given values from compile-time defaults.
Flattens a dynamic array of strings by splitting elements containing more than one value (as separated by a separator string) into separate elements.
Display a hint about the existence of the --bright getopt flag.
Displays a hint on how to complete a minimal configuration file.
Reads command-line options and applies them over values previously read from the configuration file, as well as dictates some other behaviour.
Writes and/or edits the configuration file. Broken out into a separate function to lower the size of handleGetopt.
Displays an error if the configuration is *incomplete*, e.g. missing crucial information.
Prints some information about missing configuration entries to the local terminal.
Prints the getopt "helpWanted" help table to screen.
Prints the core settings and all plugins' settings to screen.
Resolves a string to a boolean value.
Writes configuration to file, verbosely.
Write all settings to the configuration filename passed.
Saves the passed configuration text to disk, with the given filename.