Exception thrown when a flag argument is not one of the expected values.
Completes a client's, a server's and a 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.
Writes all settings to the configuration filename passed.
Saves the passed configuration text to disk, with the given filename.
Functionality related to configuration; verifying it, correcting it, reading it from/writing it to disk, and parsing it from command-line arguments.
Employs the standard std.getopt to read arguments from the command line to construct and populate instances of the structs needed for the bot to function, like IRCClient, IRCServer and IRCBot.