class Config(Config): username = config.Field(doc="The username to use when connecting.") password = config.Field(doc="The password to use when connecting.") imgur_clientid = config.Field(doc="Client ID for use with Imgur.") announce = config.Field( doc="Whether or not to announce. Set this on a per-channel basis.", default=False)
class Config(Config): chanserv_kick = config.Field(doc="Ask ChanServ to perform the kick.", default=False) chanserv_op = config.Field( doc="Ask ChanServ to op with the given command, if not already opped.", default=None) kick_message = config.Field(doc="Kick message.", default="Watch your language!")
class Config(Config): remote = config.Field(doc="Remote to pull updates from.", default="origin") branch = config.Field(doc="Branch to pull updates from.", default="master") post_receive_key = config.Field(doc="Enable the post-receive hook if set. This is the ``key=<key>`` query argument.", default=None) announce = config.Field(doc="Whether or not to announce. Set this on a per-channel basis.", default=False)
class Config(Config): hosts = config.Field(doc="List of hosts to connect to.", default=[ "front1.omegle.com", "front2.omegle.com", "front3.omegle.com", "front4.omegle.com", "front5.omegle.com", "front6.omegle.com", "front7.omegle.com", "front8.omegle.com", "front9.omegle.com" ]) ignore_prefix = config.Field( doc="Ignore all messages starting with a prefix.", default=",")
class MoffleConfig(Config): class Instance(Config): base_url = config.Field(doc="Base URL of the Moffle instance.") api_uid = config.Field(doc="UID for API authentication.") api_key = config.Field(doc="Key for API authentication.") instances = config.Field(doc="Moffle instances keyed by name.", type=config.Mapping(Instance))
class Config(Config): url = config.Field(doc="The remote cobed to connect to.") username = config.Field(doc="The username to use when connecting.") password = config.Field(doc="The password to use when connecting.") reply = config.Field(doc="Whether or not to generate replies.", default=True) prefix = config.Field(doc="Prefix to trigger brain.", default="?") random_replyness = config.Field( doc="Probability the brain will generate a reply for all messages.", default=0.0)
class Config(Config): api_key = config.Field(doc="Google API key.")
class Config(Config): username = config.Field(doc="Username for HTTP basic auth.") password = config.Field(doc="Password for HTTP basic auth.") url = config.Field(doc="URL of the Icecast2 admin page.") mount = config.Field(doc="Name of the Icecast2 mountpoint.")
class Config(Config): appid = config.Field(doc="Wolfram|Alpha application ID.")
class Config(Config): api_key = config.Field(doc="Google API key.") cx = config.Field(doc="Custom search engine ID.")
class Instance(Config): base_url = config.Field(doc="Base URL of the Moffle instance.") api_uid = config.Field(doc="UID for API authentication.") api_key = config.Field(doc="Key for API authentication.")
class Config(Config): api_key = config.Field(doc="Wordnik API key.")
class Config(Config): model_file = config.Field(doc="Location where the model file is stored", default="pasta_model.json")
class Config(Config): port = config.Field(doc="Port to run the web server on.", default=8080) address = config.Field(doc="Address to bind the HTTP server to.", default="0.0.0.0") title = config.Field(doc="Title for the web site.", default="Kochira") motd = config.Field(doc="MOTD for the web site, formatted in reStructuredText.", default="(no message of the day)") base_url = config.Field(doc="Base URL for the web server.")
class Config(Config): index_path = config.Field(doc="Path to the full-text index.", default="quotes")
class Config(Config): enabled = config.Field( doc="Whether or not this service is enabled (false by default).", default=False) auth_token = config.Field(doc="HipChat authentication token.")
class Config(Config): app_id = config.Field(doc="Open Exchange Rates App ID.")
class Config(Config): commands = config.Field(doc="List of commands to run.", type=config.Many(list))
class Config(Config): from_lang = config.Field(doc="Language to convert from.", default="en_GB") to_lang = config.Field(doc="Language to convert to (hint: en_US).", default="en_US")
class Config(Config): max_size = config.Field(doc="Maximum request size.", default=5 * 1024 * 1024)
class Config(Config): api_key = config.Field(doc="Weather Underground API key.")
class Config(Config): brain_file = config.Field(doc="Location to store the brain in.", default="brain.db")
class Config(Config): timeout = config.Field( doc="Timeout for granting another user karma, in seconds.", default=30 * 60)
class Config(Config): log_dir = config.Field(doc="Path to the log directory.", default="logs")
class Config(Config): api_key = config.Field(doc="Last.fm API key.")