confman module

class confman.ConfManager(conf=None)[source]

Bases: object

Singleton class. Opens and parses a JSON-formatted conf file from (generally) the running user’s home folder. Looks for .pybotrc. This allows each thread to know only its own network name, and always get back the information specified for that network from the confman.

getChannels(net)[source]
getDBName(net)[source]
getDBPass(net)[source]
getDBType()[source]
getDBUsername(net)[source]
getIRCPass(net)[source]
getNetwork()[source]
getNetworks()[source]
getNick(net)[source]
getNumChannels(net)[source]
getNumNets()[source]
getOwner(net)[source]
getPort(net)[source]
getTimeout(net)[source]