.. _plugin-Config: Documentation for the Config plugin for Supybot =============================================== Purpose ------- Handles configuration of the bot while it is running. Usage ----- Provides access to the Supybot configuration. This is a core Supybot plugin that should not be removed! Commands -------- channel [] [] [] If is given, sets the channel configuration variable for to for on the . Otherwise, returns the current channel configuration value of . is only necessary if the message isn't sent in the channel itself. More than one channel may be given at once by separating them with commas. defaults to the current network. config [] If is given, sets the value of to . Otherwise, returns the current value of . You may omit the leading "supybot." in the name if you so choose. default Returns the default value of the configuration variable . export Exports the public variables of your configuration to . If you want to show someone your configuration file, but you don't want that person to be able to see things like passwords, etc., this command will export a "sanitized" configuration file suitable for showing publicly. help Returns the description of the configuration variable . list Returns the configuration variables available under the given configuration . If a variable has values under it, it is preceded by an '@' sign. If a variable is a 'ChannelValue', that is, it can be separately configured for each channel using the 'channel' command in this plugin, it is preceded by an '#' sign. And if a variable is a 'NetworkValue', it is preceded by a ':' sign. network [] [] If is given, sets the network configuration variable for to for . Otherwise, returns the current network configuration value of . defaults to the current network. reload takes no arguments Reloads the various configuration files (user database, channel database, registry, etc.). reset channel [] [] Resets the channel-specific value of variable , so that it will match the network-specific value (or the global one if the latter isn't set). and default to the current network and channel. reset network [] [] Resets the network-specific value of variable , so that it will match the global. defaults to the current network and channel. search Searches for in the current configuration variables. searchhelp Searches for in the help of current configuration variables. searchvalues Searches for in the values of current configuration variables. setdefault Resets the configuration variable to its default value. Use commands 'reset channel' and 'reset network' instead to make a channel- or network- specific value inherit from the global one. Configuration ------------- supybot.plugins.Config.public This config variable defaults to "True", is not network-specific, and is not channel-specific. Determines whether this plugin is publicly visible.